mirror of
https://github.com/glfw/glfw.git
synced 2024-11-23 02:25:10 +00:00
Make it possible to use GLESv1
This commit is contained in:
parent
9d6945a766
commit
38c4a8ef2d
@ -153,6 +153,8 @@ extern "C" {
|
|||||||
#else
|
#else
|
||||||
#if defined(GLFW_INCLUDE_GL3)
|
#if defined(GLFW_INCLUDE_GL3)
|
||||||
#include <GL3/gl3.h>
|
#include <GL3/gl3.h>
|
||||||
|
#elif defined(GLFW_INCLUDE_ES1)
|
||||||
|
#include <GLES/gl.h>
|
||||||
#elif defined(GLFW_INCLUDE_ES2)
|
#elif defined(GLFW_INCLUDE_ES2)
|
||||||
#include <GLES2/gl2.h>
|
#include <GLES2/gl2.h>
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user