1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #ifndef IGL_OPENGL2_GL_H
- #define IGL_OPENGL2_GL_H
- #ifdef IGL_OPENGL_GL_H
- # error "igl/opengl/gl.h already included"
- #endif
- #ifdef _WIN32
- # define NOMINMAX
- # include <Windows.h>
- # undef DrawText
- # undef NOMINMAX
- #endif
- #ifndef __APPLE__
- # define GLEW_STATIC
- # include <GL/glew.h>
- #endif
- #ifdef __APPLE__
- # include <OpenGL/gl.h>
- # define __gl_h_
- #else
- # include <GL/gl.h>
- #endif
- #endif
|