diff --git a/Makefile b/Makefile index faea678..a7b23a8 100644 --- a/Makefile +++ b/Makefile @@ -110,13 +110,15 @@ MACOSX_LIBS= \ -L$(PRE_BUILT)/macos \ -L/usr/local/lib \ -lSDL2 -lm -liconv -lobjc -llua -lwren -lz -lgif \ + -lsdlgpu \ -Wl,-framework,CoreAudio \ -Wl,-framework,AudioToolbox \ -Wl,-framework,ForceFeedback \ -Wl,-framework,CoreVideo \ -Wl,-framework,Cocoa \ -Wl,-framework,Carbon \ - -Wl,-framework,IOKit + -Wl,-framework,IOKit \ + -Wl,-framework,OpenGL SOURCES=\ src/studio.c \ diff --git a/src/ext/shader/common.vert b/src/ext/shader/common.vert index c222b3a..ff038ec 100644 --- a/src/ext/shader/common.vert +++ b/src/ext/shader/common.vert @@ -1,4 +1,4 @@ -SHADER( +SHADER(#version 100\n precision highp float; precision mediump int; diff --git a/src/ext/shader/crt-lottes.frag b/src/ext/shader/crt-lottes.frag index 633ca54..aa7fe10 100644 --- a/src/ext/shader/crt-lottes.frag +++ b/src/ext/shader/crt-lottes.frag @@ -1,4 +1,4 @@ -SHADER( +SHADER(#version 100\n precision highp float;