Hi I am facing a problem with delete and generate textures. I am working on a medical imaging application where texture objects are deleted and regenerated when user reloads image data. When texture objects generated the first time (at application startup) every thing works fine. Problem comes when I delete and generate textures again - image data is reloaded. For some reason the texture is not loaded and no image is visible. I used glAreTexturesResident to query texture status and the texture is not resident.
The issue is only in release build, debug build works without any problem. Please help.
Thanks Ravi Kumar