EGL OpenGL window.

This commit is contained in:
yunfeibai
2017-02-06 16:22:17 -08:00
parent 7e08e960a1
commit c92fd6120d
8 changed files with 223 additions and 132 deletions

View File

@@ -27,8 +27,14 @@ subject to the following restrictions:
#ifdef GLEW_STATIC
#include "CustomGL/glew.h"
#else
#ifdef NO_GLEW
#define GL_GLEXT_LEGACY
#include "third_party/GL/gl/include/GL/gl.h"
#include "third_party/GL/gl/include/GL/glext.h"
#else
#include <GL/glew.h>
#endif//GLEW_STATIC
#endif //NO_GLEW
#endif //GLEW_STATIC
#ifdef _WINDOWS
#include <windows.h>