summaryrefslogtreecommitdiff
path: root/FL/gl.h
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 15:21:34 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 15:21:34 +0500
commitdb214d1145e46d527a46d1fc2519548d2c4d23f1 (patch)
treecf0fd9922e4d54f6beb63888f9b28c8e2a787bdf /FL/gl.h
parent75fc94d6c71fe686f6dde5b41ad91cba2f6bdd6f (diff)
wip: fork
Diffstat (limited to 'FL/gl.h')
-rw-r--r--FL/gl.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/FL/gl.h b/FL/gl.h
index 7b5e9c4d7..b9b22f0fa 100644
--- a/FL/gl.h
+++ b/FL/gl.h
@@ -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();