Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. GlDrawElements... did I miss something?
Forum Updated to NodeBB v4.3 + New Features

GlDrawElements... did I miss something?

Scheduled Pinned Locked Moved Game Development
4 Posts 2 Posters 1.5k 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.
  • L Offline
    L Offline
    liolio2
    wrote on last edited by
    #1

    Hello,

    I have started to write a 3D engine to learn OpenGL new function, I am working on Linux.
    I have begun coding with X11, and then moved to QT. While glDrawElements worked fine on my GLX window and I could draw primitives, the same code crashed when I used QT.
    I have used GLEW in both cases, so it should call the same functions. My guess is that it can be related to the context I am using on QT. I am using the default format, which should allow me to use the functions.
    Do you have any comments or ideas on what it could be?
    Thanks in advance,

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You should also give what OS / Qt versions you are using

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • L Offline
        L Offline
        liolio2
        wrote on last edited by
        #3

        Thank you for the welcome
        I am on Linux Ubuntu 12.10(Quantal) (running on aMacbook Pro) and QT 5.0.2

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Could you post a code sample that reproduce the problem ?

          In between, you might better update Qt to the latest version (5.1.1 at this time)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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