Use libepoxy for OpenGL ES
It supports OpenGL ES contexts as well as desktop OpenGL
This commit is contained in:
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"
|
||||
|
|
Loading…
Reference in New Issue