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. GlDrawArray failes after e while

GlDrawArray failes after e while

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 626 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    mauriziodiv
    wrote on last edited by
    #1

    Hi to everyone,
    I am developing an application that allows the user to write and test shaders. The application lets you import an obj. What happened, is that if I import a mesh the first time is ok, the second time is ok, and maybe the third time crash, i think it depends on the size of the mesh, it seems to me that it keeps storing data. I debugged the program and I found aout the the crash occurs at glDrawArray:
    glDrawArrays(GL_QUADS,0,objVertexPos.size());
    all variables and arrays are cleaned everytime, so I think it's something regarding the GPU.
    Any suggestion?
    Thank you in advance.

    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