Skip to content

Commit

Permalink
OpenGLES 2.0 support on PLATFORM_DESKTOP (#2840)
Browse files Browse the repository at this point in the history
* OpenGLES 2.0 support on PLATFORM_DESKTOP

* exmples raylib_opengl_interop desktop GLES2 support

* rename gles2.h -> glad_gles2.h
  • Loading branch information
wtnbgo authored Jan 10, 2023
1 parent 6dd1d2d commit f549f67
Show file tree
Hide file tree
Showing 5 changed files with 9,581 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cmake/LibraryConfigurations.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Loading

0 comments on commit f549f67

Please sign in to comment.