Results 1 to 10 of 10

Thread: OpenGL 3.2+ with FPC on the Mac?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I'm also using dglOpenGL header with FPC under windows. I've read somewhere that it's better to use it than those shipped with lazarus. Project works ok on both cards in my laptop, opengl 3.1 and 4.2 modes

  2. #2
    I managed to hack glext to work. The biggest problem (also present in dglOpenGL but only in a few places) is incorrect use of glGetString, using the obsolete GL_EXTENSION constant. Also, VAO support was dependent on the GL_ARB_vertex_array_object extension, which failed due to the nonworking glGetString (which shouldn't affect core VAO calls).

    I didn't try dglOpenGL since I had no example made for it. It is most likely better but I was discouraged since it included the same bug.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •