Unsolved OpenGL texture not working
QT-static-prgm last edited by
i was working on an OpenGL Project using glew/glfw/glm. Now i decided to use Qt instead, but i have some problems with the textures when porting the project from glew to Qt.
Here is my old glew code: https://git.rwth-aachen.de/carstenf/OpenGL/tree/master/MshViewer
and here is my new code using Qt: https://git.rwth-aachen.de/carstenf/OpenGL/tree/master/MeshViewerQt
I get this warning/error when i tried to open a msh file.
Cannot resize a texture that already has storage allocated.
To do so, destroy() the texture and then create() and setSize()
the texture is not opened, as well, but as you can see here i'm using a stock solid red texture if the file could not be open. So that texture open bug is a different problem.
Pretty sure it's a kind of order problem