Original Post
🔒 Locked
Checking texture existence
Advertisement
Quote:
Original post by Anonymous Poster
use glGetError > http://www.mevis.de/opengl/glGetError.html
beware, if you have others errors befors, better call
glGetError()// reset flags and ignore eventual previous errors
glBindTexture(...)
int err = glGetError()// real check
Calling glBindTexture with an unused texture ID is how you create new texture objects and is certainly not an error.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement