texture ID problem
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
It could only happen if you are calling glDeleteTexures, thus freeing up the ID of the texture object you deleted.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement