mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 11:28:17 +00:00
Force OpenGL 3.3 on OSX if selected OpenGL 2.1
This commit is contained in:
@@ -1273,7 +1273,11 @@ int rlGetVersion(void)
|
||||
#if defined(GRAPHICS_API_OPENGL_11)
|
||||
return OPENGL_11;
|
||||
#elif defined(GRAPHICS_API_OPENGL_21)
|
||||
#if defined(__APPLE__)
|
||||
return OPENGL_33; // NOTE: Force OpenGL 3.3 on OSX
|
||||
#else
|
||||
return OPENGL_21;
|
||||
#endif
|
||||
#elif defined(GRAPHICS_API_OPENGL_33)
|
||||
return OPENGL_33;
|
||||
#elif defined(GRAPHICS_API_OPENGL_ES2)
|
||||
|
Reference in New Issue
Block a user