View Full Version : really dumb question re texture reallocation
12-15-2007, 09:53 AM
if I bind a 100*100 texture to texture object '1', for example, and wish to resize to say 200*200, do I need to delete the original then create a new 200*200 texture? Or can I just glTexImage2D a new [resized] texture?
Sorry for the stupid question
12-15-2007, 12:27 PM
No need to delete the handle, just load the new texture.
12-15-2007, 12:32 PM
I thought that was the case... just didn't want any memory leaks!
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.