From 23c682339348912be3b8ccbec8e6dc84cd5a510a Mon Sep 17 00:00:00 2001 From: WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> Date: Sat, 30 Jan 2021 13:54:38 +0000 Subject: [PATCH] Use libepoxy for OpenGL ES It supports OpenGL ES contexts as well as desktop OpenGL --- src/CMakeLists.txt | 2 +- src/OpenGLSupport.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 04995314..d8250ae6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -126,7 +126,7 @@ if (ENABLE_OGLRENDERER) elseif (APPLE) target_link_libraries(core ${EPOXY_LIBRARIES}) else() - target_link_libraries(core rt GLESv2) + target_link_libraries(core rt ${EPOXY_LIBRARIES}) endif() else() if (WIN32) diff --git a/src/OpenGLSupport.h b/src/OpenGLSupport.h index bc62bf0f..cbbb34e1 100644 --- a/src/OpenGLSupport.h +++ b/src/OpenGLSupport.h @@ -22,7 +22,7 @@ #include #include -#include +#include #include "Platform.h"