Skip to content

Commit

Permalink
fixes for latest sokol updates
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed May 9, 2024
1 parent 93d2a31 commit 2c3dd08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ext/sokol/sokol_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
#elif defined(__APPLE__)
#define SOKOL_METAL
#else
#define SOKOL_GLCORE33
#define SOKOL_GLCORE
#endif
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
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")
else()
set(slang "metal_macos")
endif()
else()
set(slang "glsl330")
set(slang "glsl430")
endif()

fips_begin_lib(common)
Expand Down

0 comments on commit 2c3dd08

Please sign in to comment.