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
This commit is contained in:
Go Watanabe 2023-01-10 20:34:06 +09:00 committed by GitHub
parent 6dd1d2d931
commit f549f67be9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9581 additions and 11 deletions

View file

@ -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")