summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorGo Watanabe <[email protected]>2023-01-10 20:34:06 +0900
committerGitHub <[email protected]>2023-01-10 12:34:06 +0100
commitf549f67be9e1cc1256d35c86637ac807ec2e6823 (patch)
treee9cfa4f4d213b6a7e49cae96186f12bee5f6c94c /cmake
parent6dd1d2d9316c2d665c02d45bd0677150352ed9d3 (diff)
downloadraylib-f549f67be9e1cc1256d35c86637ac807ec2e6823.tar.gz
raylib-f549f67be9e1cc1256d35c86637ac807ec2e6823.zip
OpenGLES 2.0 support on PLATFORM_DESKTOP (#2840)
* OpenGLES 2.0 support on PLATFORM_DESKTOP * exmples raylib_opengl_interop desktop GLES2 support * rename gles2.h -> glad_gles2.h
Diffstat (limited to 'cmake')
-rw-r--r--cmake/LibraryConfigurations.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/LibraryConfigurations.cmake b/cmake/LibraryConfigurations.cmake
index a16bde69..ffb1a047 100644
--- a/cmake/LibraryConfigurations.cmake
+++ b/cmake/LibraryConfigurations.cmake
@@ -93,7 +93,7 @@ elseif ("${PLATFORM}" MATCHES "DRM")
endif ()
-if (${OPENGL_VERSION})
+if (NOT ${OPENGL_VERSION})
set(${SUGGESTED_GRAPHICS} "${GRAPHICS}")
if (${OPENGL_VERSION} MATCHES "4.3")
set(GRAPHICS "GRAPHICS_API_OPENGL_43")