Results 1 to 6 of 6

Thread: Lazarus port of Tom Nuydens "Mr. Potato Head" GLSL demo using modern GL functionality

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Thanks for the sample! One small nitpick: calls to LoadOpenGL('opengl32.dll'); Load_GL_version_1_2; ... Load_GL_version_3_2; - are not needed, at least not if you use units distributed with FPC. LoadOpenGL runs in GL unit initialization and the version loading functions cascade to lower versions.

  2. #2
    Quote Originally Posted by imcold View Post
    Thanks for the sample! One small nitpick: calls to LoadOpenGL('opengl32.dll'); Load_GL_version_1_2; ... Load_GL_version_3_2; - are not needed, at least not if you use units distributed with FPC. LoadOpenGL runs in GL unit initialization and the version loading functions cascade to lower versions.
    Yeah, I actually remembered that a few days after I originally posted this.

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
  •