macosx works

This commit is contained in:
TIC 2018-02-22 20:50:05 +03:00
parent 79ee0ff4ba
commit 30169a6947
3 changed files with 5 additions and 3 deletions

View File

@ -110,13 +110,15 @@ MACOSX_LIBS= \
-L$(PRE_BUILT)/macos \ -L$(PRE_BUILT)/macos \
-L/usr/local/lib \ -L/usr/local/lib \
-lSDL2 -lm -liconv -lobjc -llua -lwren -lz -lgif \ -lSDL2 -lm -liconv -lobjc -llua -lwren -lz -lgif \
-lsdlgpu \
-Wl,-framework,CoreAudio \ -Wl,-framework,CoreAudio \
-Wl,-framework,AudioToolbox \ -Wl,-framework,AudioToolbox \
-Wl,-framework,ForceFeedback \ -Wl,-framework,ForceFeedback \
-Wl,-framework,CoreVideo \ -Wl,-framework,CoreVideo \
-Wl,-framework,Cocoa \ -Wl,-framework,Cocoa \
-Wl,-framework,Carbon \ -Wl,-framework,Carbon \
-Wl,-framework,IOKit -Wl,-framework,IOKit \
-Wl,-framework,OpenGL
SOURCES=\ SOURCES=\
src/studio.c \ src/studio.c \

View File

@ -1,4 +1,4 @@
SHADER( SHADER(#version 100\n
precision highp float; precision highp float;
precision mediump int; precision mediump int;

View File

@ -1,4 +1,4 @@
SHADER( SHADER(#version 100\n
precision highp float; precision highp float;