I’m not absolutely sure, but i spend a lot of time debugging my app and i found out that you can call glGenTextures only one time at the begining of the app.
If i am wrong, please tell me =(.
I’m not absolutely sure, but i spend a lot of time debugging my app and i found out that you can call glGenTextures only one time at the begining of the app.
If i am wrong, please tell me =(.
You can call it anytime an OpenGL render context is current, except inbetween a glBegin/glEnd block.