diff --git a/build/windows/sdl-gpu/sdl-gpu.vcxproj b/build/windows/sdl-gpu/sdl-gpu.vcxproj index 0aa3bf4..4ee534e 100644 --- a/build/windows/sdl-gpu/sdl-gpu.vcxproj +++ b/build/windows/sdl-gpu/sdl-gpu.vcxproj @@ -93,7 +93,7 @@ Level3 Disabled - _WINDOWS;GLEW_STATIC;SDL_GPU_DISABLE_GLES;STBI_FAILURE_USERMSG;SDL_GPU_USE_BUFFER_RESET;WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) + GLEW_STATIC;SDL_GPU_DISABLE_GLES;WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) MultiThreadedDebug ..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\sdl-gpu\include;..\..\..\3rd-party\sdl-gpu\src;..\..\..\3rd-party\sdl-gpu\src\externals\glew;..\..\..\3rd-party\sdl-gpu\src\externals\glew\GL;..\..\..\3rd-party\sdl-gpu\src\externals\stb_image;..\..\..\3rd-party\sdl-gpu\src\externals\stb_image_write @@ -107,7 +107,7 @@ Level3 Disabled - _WINDOWS;GLEW_STATIC;SDL_GPU_DISABLE_GLES;STBI_FAILURE_USERMSG;SDL_GPU_USE_BUFFER_RESET;_DEBUG;_LIB;%(PreprocessorDefinitions) + GLEW_STATIC;SDL_GPU_DISABLE_GLES;_DEBUG;_LIB;%(PreprocessorDefinitions) MultiThreadedDebug ..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\sdl-gpu\include;..\..\..\3rd-party\sdl-gpu\src;..\..\..\3rd-party\sdl-gpu\src\externals\glew;..\..\..\3rd-party\sdl-gpu\src\externals\glew\GL;..\..\..\3rd-party\sdl-gpu\src\externals\stb_image;..\..\..\3rd-party\sdl-gpu\src\externals\stb_image_write diff --git a/src/ext/shader/common.vert b/src/ext/shader/common.vert index f82e14d..c222b3a 100644 --- a/src/ext/shader/common.vert +++ b/src/ext/shader/common.vert @@ -1,4 +1,4 @@ -CODE( +SHADER( precision highp float; precision mediump int; diff --git a/src/ext/shader/crt-lottes.frag b/src/ext/shader/crt-lottes.frag index 355f646..633ca54 100644 --- a/src/ext/shader/crt-lottes.frag +++ b/src/ext/shader/crt-lottes.frag @@ -1,4 +1,4 @@ -CODE( +SHADER( precision highp float; diff --git a/src/system.c b/src/system.c index 5e683e6..3f8e6c5 100644 --- a/src/system.c +++ b/src/system.c @@ -1060,7 +1060,7 @@ static void emstick() #endif -#define CODE(...) #__VA_ARGS__ +#define SHADER(...) #__VA_ARGS__ u32 load_shader_program() {