mirror of
https://github.com/glfw/glfw.git
synced 2026-08-29 03:04:14 +02:00
Added macro for including the GLES2 header.
This commit is contained in:
@@ -161,6 +161,8 @@ extern "C" {
|
||||
#else
|
||||
#if defined(GLFW_INCLUDE_GL3)
|
||||
#include <GL3/gl3.h>
|
||||
#elif defined(GLFW_INCLUDE_ES2)
|
||||
#include <GLES2/gl2.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user