From 26fc35ac942ec600b8570ee3051bc5c97b68ec44 Mon Sep 17 00:00:00 2001 From: Frederik De Bleser Date: Tue, 19 Apr 2016 13:06:54 +0200 Subject: [PATCH] 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. --- demo/glfw/nuklear_glfw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/glfw/nuklear_glfw.c b/demo/glfw/nuklear_glfw.c index 569526c..264eb08 100644 --- a/demo/glfw/nuklear_glfw.c +++ b/demo/glfw/nuklear_glfw.c @@ -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