diff options
Diffstat (limited to 'pugl/pugl_osx.m')
-rw-r--r-- | pugl/pugl_osx.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m index e56a1a7..39be7f0 100644 --- a/pugl/pugl_osx.m +++ b/pugl/pugl_osx.m @@ -19,7 +19,8 @@ @file pugl_osx.m OSX/Cocoa Pugl Implementation. */ -#include "pugl/cairo_gl.h" +#define GL_SILENCE_DEPRECATION 1 + #include "pugl/gl.h" #include "pugl/pugl_internal.h" @@ -27,6 +28,8 @@ #include <stdlib.h> +#undef PUGL_HAVE_CAIRO + @class PuglOpenGLView; struct PuglInternalsImpl { |