mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
Use libepoxy for OpenGL ES
It supports OpenGL ES contexts as well as desktop OpenGL
This commit is contained in:

committed by
Rayyan Ansari

parent
ea00d69866
commit
23c6823393
@ -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)
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <GLES3/gl32.h>
|
||||
#include <epoxy/gl.h>
|
||||
|
||||
|
||||
#include "Platform.h"
|
||||
|
Reference in New Issue
Block a user