Use lower shader version for better compatibility on OS X
We just need the basic features for getting a texture on screen, so GLSL version 1.5 is enough.
This commit is contained in:
parent
5b0b4c9ffd
commit
26fc35ac94
@ -31,7 +31,7 @@ static struct nk_glfw {
|
||||
} glfw;
|
||||
|
||||
#ifdef __APPLE__
|
||||
#define NK_SHADER_VERSION "#version 400\n"
|
||||
#define NK_SHADER_VERSION "#version 150\n"
|
||||
#else
|
||||
#define NK_SHADER_VERSION "#version 300 es\n"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user