Add GLFW_INCLUDE_ES32

This commit is contained in:
Camilla Löwy
2017-01-02 05:58:41 +01:00
parent 51e415a026
commit 3edaa5280d
4 changed files with 12 additions and 0 deletions

View File

@@ -171,6 +171,11 @@ extern "C" {
#if defined(GLFW_INCLUDE_GLEXT)
#include <GLES2/gl2ext.h>
#endif
#elif defined(GLFW_INCLUDE_ES32)
#include <GLES3/gl32.h>
#if defined(GLFW_INCLUDE_GLEXT)
#include <GLES2/gl2ext.h>
#endif
#elif !defined(GLFW_INCLUDE_NONE)
#include <GL/gl.h>
#if defined(GLFW_INCLUDE_GLEXT)