Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. OpenGL texture not working

OpenGL texture not working

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 369 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • QT-static-prgmQ Offline
    QT-static-prgmQ Offline
    QT-static-prgm
    wrote on last edited by
    #1

    Hi,

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved