Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Shader version 150

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2012
    Posts
    6

    Shader version 150

    Hi forum,

    i a using a Mac OS X 10.7.4 and the Doku says that GLSL version 1.5 is supported.
    https://developer.apple.com/graphics...1073_Core.html

    But when i create my shader (#version 150) i get this error:
    ERROR: 0:2: '' : version '150' is not supported

  2. #2
    Member Regular Contributor
    Join Date
    Jan 2012
    Location
    Germany
    Posts
    302
    Hi,

    you probably got a OpenGL 2.1 context, check the OpenGL version at runtime (glGetString( GL_VERSION ) ) and look up Apples docs how to request a core profile.

Posting Permissions

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