You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you request your pixel format using one of the lower-level APIs on OS X, you need to add the following to your attribute list in order to use a core profile:
CGL:
kCGLPFAOpenGLProfile, kCGLOGLPVersion_3_2_Core
NSOpenGL:
NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core
OS X is different, it does not support compatibility profiles.
You either get the legacy OpenGL 2.1 implementation or the core 3.2 (3.3/4.1 in OS X 10.9) implementation
but you can never mix-and-match features from both.
Furthermore, unless you modify your code to ask for a core
profile, you will be limited to OpenGL 2.1 by default.
version 130 in shaders causes trouble on OSX.
Apparently on OSX when creating the GL canvas, one must explicitely request it to support OpenGL 3 :
http://stackoverflow.com/questions/19865463/opengl-4-1-under-mavericks/19868861#19868861
http://stackoverflow.com/questions/20264814/glsl-version-130-on-mac-os-x-causes-error
Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/t/ticket/1142
The text was updated successfully, but these errors were encountered: