Hi, is there a way to know programmatically whether the QGLWidget::bindTexture function fails? Sometime my bindTexture fails, I can see in the log file there is a line reporting the binding failure:
texture upload failed, error code 0x500, enum: 3553 (de1) but the bindTexture returns a valid texture id (> 0) and the glGetError() returns 0 (no error). How do I know the binding has failed from my code? This is how the bindTexture is called QImage imgTexture(myImgPath); int _texture = bindTexture( imgTexture, GL_TEXTURE_2D ); Thanks in advance for your help, Calogero -- Calogero Mauceri Software Engineer Applied Coherent Technology Corporation (ACT) www.actgate.com _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest