diff options
Diffstat (limited to 'FL/gl.h')
| -rw-r--r-- | FL/gl.h | 20 |
1 files changed, 2 insertions, 18 deletions
@@ -43,27 +43,11 @@ # define FL_gl_H # include "Enumerations.H" // for color names -# ifdef _WIN32 -# include <windows.h> -# endif # ifndef APIENTRY -# if defined(__CYGWIN__) -# define APIENTRY __attribute__ ((__stdcall__)) -# else -# define APIENTRY -# endif +# define APIENTRY # endif -# ifdef __APPLE__ // PORTME: OpenGL path abstraction -# ifndef GL_SILENCE_DEPRECATION -# define GL_SILENCE_DEPRECATION 1 -# endif -# if !defined(__gl3_h_) // make sure OpenGL/gl3.h was not included before -# include <OpenGL/gl.h> -# endif -# else -# include <GL/gl.h> -# endif // __APPLE__ // PORTME: OpenGL Path abstraction +# include <GL/gl.h> FL_EXPORT void gl_start(); FL_EXPORT void gl_finish(); |
