diff options
| author | Rob McDonald <rob.a.mcdonald@gmail.com> | 2023-03-15 10:45:53 -0700 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-03-15 23:15:32 +0100 |
| commit | 09b7b4719d2d3211e14203606d824e768611ff73 (patch) | |
| tree | a4aed777156eda9f3a66ab4bd526fb61d9b48bf7 /FL/gl.h | |
| parent | 0f41797b7ab0ee010e31659f60cafd38affac8f5 (diff) | |
Protect GL_SILENCE_DEPRECATION from re-definition.
Diffstat (limited to 'FL/gl.h')
| -rw-r--r-- | FL/gl.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -55,7 +55,9 @@ # endif # ifdef __APPLE__ // PORTME: OpenGL path abstraction -# define GL_SILENCE_DEPRECATION 1 +# 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 |
