system
September 11, 2003, 12:06am
1
Hi,
i have a strange behaviour with opengl/qt.
When i create texture, i have a code like this :
glGenTextures(1, &tex[0]);
glBindTexture( GL_TEXTURE2D, tex);
QMessageBox::information( “…”…);
glTexImage2D( … );
Unfortunately, when i remove the messagebox, all my textures are blank.
Do you understand what occurs ?
Thanks for your help.
system
September 11, 2003, 11:35am
2
When the message box is removed is a redisplay message sent to the OpenGL application. Perhaps do you forgot to enable something like textures or the image files could be corrupted.
The messagebox call is not important.
system
Closed
October 19, 2021, 6:49pm
3
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.