Page 1 of 1

Textures in opengl es..

PostPosted: Nov 13, 2009 @ 8:41am
by RapchikProgrammer
Hey, im using edgelib to handle the textures in my game and handling the geometry myself.. now i see we can upload and bind textures but no wrapper for glDeleteTextures ?? i have hacked a way right now by calling getintegerv but no proper way to unload textures from gpu??

PostPosted: Nov 16, 2009 @ 9:23pm
by edge
Hi,

Right now the only proper way to remove a texture from the GPU is to call Free() on the texture object. Releasing textures yourself can create undefined behaviour when the texture is freed after that (it may delete a texture handle used by another surface).