texture ID problem

Started by
2 comments, last by pasman 20 years, 10 months ago
hi, while working on my texture manager i got into a small problem, sometimes glGenTextures generates a texture id that already exists and so it messes some of the textures already loaded. does anyone know why might this happen? thx
Advertisement
This can''t happen.
It could only happen if you are calling glDeleteTexures, thus freeing up the ID of the texture object you deleted.
thank u v much...it was a stupid destructor call in the wrong place...

This topic is closed to new replies.

Advertisement