mirror of
https://github.com/fltk/fltk.git
synced 2026-05-26 10:07:06 +08:00
Fix "Compilation warning: 'NSOpenGLContext' on macOS 11" !#646)
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
# endif
|
||||
|
||||
# ifdef __APPLE__ // PORTME: OpenGL path abstraction
|
||||
# define GL_SILENCE_DEPRECATION 1
|
||||
# if !defined(__gl3_h_) // make sure OpenGL/gl3.h was not included before
|
||||
# include <OpenGL/gl.h>
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user