[Interest] How to know bindTexture failure
mauceri at actgate.com
Fri Oct 5 16:46:17 CEST 2012
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
int _texture = bindTexture( imgTexture, GL_TEXTURE_2D );
Thanks in advance for your help,
Applied Coherent Technology Corporation (ACT)
More information about the Interest