mirror of
https://github.com/edubart/otclient.git
synced 2025-12-24 08:47:11 +01:00
make work on win32 again using GLEW
This commit is contained in:
@@ -24,12 +24,13 @@
|
||||
#ifndef GLUTIL_H
|
||||
#define GLUTIL_H
|
||||
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
|
||||
#ifndef OPENGL_ES2
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glext.h>
|
||||
#define GLEW_STATIC
|
||||
#include <GL/glew.h>
|
||||
//#include <GL/gl.h>
|
||||
//#include <GL/glext.h>
|
||||
#else
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <GLES2/gl2.h>
|
||||
#include <GLES2/gl2ext.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user