aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2024-03-10 16:40:39 +0100
committerAndre Weissflog <floooh@gmail.com>2024-03-10 16:40:39 +0100
commitfb77929fb48c1256c24fa6cb758665a3ea7d3130 (patch)
treede91cc7768b72609308d837df7bef1c512c4e2e9 /tests
parent71df9eb978b4920d50acf3d3e7f4079becc338c3 (diff)
replace SOKOL_GLCORE33 with SOKOL_GLCORE
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
-rw-r--r--tests/CMakePresets.json26
-rw-r--r--tests/functional/force_dummy_backend.h4
3 files changed, 17 insertions, 17 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index cfaf7d46..f2ff0754 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -4,9 +4,9 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 11)
-# SOKOL_GLCORE33, SOKOL_GLES3, SOKOL_D3D11, SOKOL_METAL, SOKOL_WGPU, SOKOL_DUMMY
+# SOKOL_GLCORE, SOKOL_GLES3, SOKOL_D3D11, SOKOL_METAL, SOKOL_WGPU, SOKOL_DUMMY
set(SOKOL_BACKEND "SOKOL_DUMMY_BACKEND" CACHE STRING "Select 3D backend API")
-set_property(CACHE SOKOL_BACKEND PROPERTY STRINGS SOKOL_GLCORE33 SOKOL_METAL SOKOL_D3D11 SOKOL_DUMMY_BACKEND)
+set_property(CACHE SOKOL_BACKEND PROPERTY STRINGS SOKOL_GLCORE SOKOL_METAL SOKOL_D3D11 SOKOL_DUMMY_BACKEND)
option(SOKOL_FORCE_EGL "Force EGL with GLCORE33 backend" OFF)
option(SOKOL_FORCE_SLES "Force SLES in sokol-audio Android backend" OFF)
option(USE_ARC "Enable/disable ARC" OFF)
diff --git a/tests/CMakePresets.json b/tests/CMakePresets.json
index fe0b8964..1894497d 100644
--- a/tests/CMakePresets.json
+++ b/tests/CMakePresets.json
@@ -11,7 +11,7 @@
"generator": "Ninja",
"binaryDir": "build/macos_gl_debug",
"cacheVariables": {
- "SOKOL_BACKEND": "SOKOL_GLCORE33",
+ "SOKOL_BACKEND": "SOKOL_GLCORE",
"CMAKE_BUILD_TYPE": "Debug"
}
},
@@ -20,7 +20,7 @@
"generator": "Ninja",
"binaryDir": "build/macos_gl_release",
"cacheVariables": {
- "SOKOL_BACKEND": "SOKOL_GLCORE33",
+ "SOKOL_BACKEND": "SOKOL_GLCORE",
"CMAKE_BUILD_TYPE": "Release"
}
},
@@ -29,7 +29,7 @@
"generator": "Ninja",
"binaryDir": "build/macos_gl_analyze",
"cacheVariables": {
- "SOKOL_BACKEND": "SOKOL_GLCORE33",
+ "SOKOL_BACKEND": "SOKOL_GLCORE",
"CMAKE_BUILD_TYPE": "Debug",
"USE_ANALYZER": {
"type": "BOOL",
@@ -77,7 +77,7 @@
"generator": "Ninja",
"binaryDir": "build/macos_arc_gl_debug",
"cacheVariables": {
- "SOKOL_BACKEND": "SOKOL_GLCORE33",
+ "SOKOL_BACKEND": "SOKOL_GLCORE",
"USE_ARC": {
"type": "BOOL",
"value": "ON"
@@ -90,7 +90,7 @@
"generator": "Ninja",
"binaryDir": "build/macos_arc_gl_release",
"cacheVariables": {
- "SOKOL_BACKEND": "SOKOL_GLCORE33",
+ "SOKOL_BACKEND": "SOKOL_GLCORE",
"USE_ARC": {
"type": "BOOL",
"value": "ON"
@@ -103,7 +103,7 @@
"generator": "Ninja",
"binaryDir": "build/macos_arc_gl_analyze",
"cacheVariables": {
- "SOKOL_BACKEND": "SOKOL_GLCORE33",
+ "SOKOL_BACKEND": "SOKOL_GLCORE",
"USE_ARC": {
"type": "BOOL",
"value": "ON"
@@ -283,7 +283,7 @@
"generator": "Ninja",
"binaryDir": "build/linux_gl_debug",
"cacheVariables": {
- "SOKOL_BACKEND": "SOKOL_GLCORE33",
+ "SOKOL_BACKEND": "SOKOL_GLCORE",
"CMAKE_BUILD_TYPE": "Debug"
}
},
@@ -292,7 +292,7 @@
"generator": "Ninja",
"binaryDir": "build/linux_gl_release",
"cacheVariables": {
- "SOKOL_BACKEND": "SOKOL_GLCORE33",
+ "SOKOL_BACKEND": "SOKOL_GLCORE",
"CMAKE_BUILD_TYPE": "Release"
}
},
@@ -301,7 +301,7 @@
"generator": "Ninja",
"binaryDir": "build/linux_gl_analyze",
"cacheVariables": {
- "SOKOL_BACKEND": "SOKOL_GLCORE33",
+ "SOKOL_BACKEND": "SOKOL_GLCORE",
"CMAKE_BUILD_TYPE": "Debug",
"USE_ANALYZER": {
"type": "BOOL",
@@ -349,7 +349,7 @@
"generator": "Ninja",
"binaryDir": "build/linux_gl_egl_debug",
"cacheVariables": {
- "SOKOL_BACKEND": "SOKOL_GLCORE33",
+ "SOKOL_BACKEND": "SOKOL_GLCORE",
"SOKOL_FORCE_EGL": {
"type": "BOOL",
"value": "ON"
@@ -362,7 +362,7 @@
"generator": "Ninja",
"binaryDir": "build/linux_gl_egl_release",
"cacheVariables": {
- "SOKOL_BACKEND": "SOKOL_GLCORE33",
+ "SOKOL_BACKEND": "SOKOL_GLCORE",
"SOKOL_FORCE_EGL": {
"type": "BOOL",
"value": "ON"
@@ -470,7 +470,7 @@
"name": "win_gl",
"binaryDir": "build/win_gl",
"cacheVariables": {
- "SOKOL_BACKEND": "SOKOL_GLCORE33"
+ "SOKOL_BACKEND": "SOKOL_GLCORE"
}
},
{
@@ -478,7 +478,7 @@
"generator": "Ninja",
"binaryDir": "build/win_gl_analyze",
"cacheVariables": {
- "SOKOL_BACKEND": "SOKOL_GLCORE33",
+ "SOKOL_BACKEND": "SOKOL_GLCORE",
"CMAKE_BUILD_TYPE": "Debug",
"USE_ANALYZER": {
"type": "BOOL",
diff --git a/tests/functional/force_dummy_backend.h b/tests/functional/force_dummy_backend.h
index 22390e7d..ac1b6739 100644
--- a/tests/functional/force_dummy_backend.h
+++ b/tests/functional/force_dummy_backend.h
@@ -1,8 +1,8 @@
#if defined(SOKOL_GLES3)
#undef SOKOL_GLES3
#endif
-#if defined(SOKOL_GLCORE33)
-#undef SOKOL_GLCORE33
+#if defined(SOKOL_GLCORE)
+#undef SOKOL_GLCORE
#endif
#if defined(SOKOL_METAL)
#undef SOKOL_METAL