mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -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)
|
elseif (APPLE)
|
||||||
target_link_libraries(core ${EPOXY_LIBRARIES})
|
target_link_libraries(core ${EPOXY_LIBRARIES})
|
||||||
else()
|
else()
|
||||||
target_link_libraries(core rt GLESv2)
|
target_link_libraries(core rt ${EPOXY_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <GLES3/gl32.h>
|
#include <epoxy/gl.h>
|
||||||
|
|
||||||
|
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
|
Reference in New Issue
Block a user