Originally Posted by wysota Have you checked that the path to the image is correct and that the image gets loaded? BTW. Using Qt methods for binding the texture might be a bit less error prone, i.e. Qt Code: Switch view bindTexture(QPixmap(":/images/side.png"), GL_TEXTURE_2D); bindTexture(QPixmap(":/images/side.png"), GL_TEXTURE_2D); To copy to clipboard, switch view to plain text mode Yes. The path to the image is correct and that the image gets loaded. Same code works fine with QGLWidget in QGLWidget:aintGL().
bindTexture(QPixmap(":/images/side.png"), GL_TEXTURE_2D);
Forum Rules
Bookmarks