mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
37 lines
578 B
C++
37 lines
578 B
C++
#define GL_GLEXT_PROTOTYPES
|
|
|
|
|
|
# if defined(TOGL_AGL) || defined(TOGL_AGL_CLASSIC)
|
|
# include <OpenGL/gl.h>
|
|
# include <OpenGL/glu.h>
|
|
# else
|
|
# if defined(TOGL_NSOPENGL)
|
|
# include <gl.h>
|
|
# include <glu.h>
|
|
# else
|
|
# include <GL/gl.h>
|
|
# include <GL/glu.h>
|
|
# endif
|
|
# endif
|
|
|
|
|
|
#ifdef TOGL_X11
|
|
// parallel
|
|
#define GLX_GLXEXT_PROTOTYPES
|
|
#include <GL/glx.h>
|
|
#include <GL/glxext.h>
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// part of OpenGL 1.2, but not in Microsoft's OpenGL 1.1 header:
|
|
// GL version sould be checked at runtime
|
|
#ifndef GL_CLAMP_TO_EDGE
|
|
#define GL_CLAMP_TO_EDGE 0x812F
|
|
#endif
|
|
|
|
|
|
|