I'm using FBO in my application.. at some points My app rendering resize and i need to delete and recreate the FBO by the new dims and data .. it works fine but i noticed that the glDeleteTextures doesn't free the GPU memory that resulted in accumulated GPU memory leakage at run-time. this is my code to delete the FBO and its texture
glDeleteFramebuffersEXT( 1, TempFrameBuffer); glDeleteTextures( 1, Tempimage);
can you find what i missed? are there any method to free the GPU memory after deleting texture?
thanks in advance for your help