Macok
5th April 2009, 10:55
When I call
bindTexture("./sprites/1.bmp");I get this warning on output:
QGLContext::bindTexture(): not a DDS image file.and texture doesn't appear.
But when I call
QPixmap pixmap("./sprites/1.bmp");
bindTexture(pixmap);everything works fine.
What's wrong?
bindTexture("./sprites/1.bmp");I get this warning on output:
QGLContext::bindTexture(): not a DDS image file.and texture doesn't appear.
But when I call
QPixmap pixmap("./sprites/1.bmp");
bindTexture(pixmap);everything works fine.
What's wrong?