Tag Archives: texture binding

The right (and tricky) way to bind textures in OpenGL

I just solved a really hard bug today at work. I was receiving the error GL_INVALID_OPERATION on a glEnd() or glDrawBuffers. This was due to one of our textures that was not unbound to the correct target. We had a … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment