From 2c3dd083b2087577a9a49364c2822564cc2dfc52 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Thu, 9 May 2024 19:19:02 +0200 Subject: [PATCH] fixes for latest sokol updates --- ext/sokol/sokol_defines.h | 2 +- src/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/sokol/sokol_defines.h b/ext/sokol/sokol_defines.h index 462ed18..735d862 100644 --- a/ext/sokol/sokol_defines.h +++ b/ext/sokol/sokol_defines.h @@ -6,5 +6,5 @@ #elif defined(__APPLE__) #define SOKOL_METAL #else - #define SOKOL_GLCORE33 + #define SOKOL_GLCORE #endif diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 25b5045..7000a07 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,7 +1,7 @@ if (FIPS_EMSCRIPTEN) set(slang "glsl300es") elseif (FIPS_WINDOWS) - set(slang "hlsl4:glsl330") + set(slang "hlsl4:glsl430") elseif (FIPS_OSX) if (FIPS_IOS) set(slang "metal_ios:metal_sim") @@ -9,7 +9,7 @@ elseif (FIPS_OSX) set(slang "metal_macos") endif() else() - set(slang "glsl330") + set(slang "glsl430") endif() fips_begin_lib(common)