diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-05 15:21:34 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-05 15:21:34 +0500 |
| commit | db214d1145e46d527a46d1fc2519548d2c4d23f1 (patch) | |
| tree | cf0fd9922e4d54f6beb63888f9b28c8e2a787bdf /FL/gl.h | |
| parent | 75fc94d6c71fe686f6dde5b41ad91cba2f6bdd6f (diff) | |
wip: fork
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(); |
