aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-14 19:21:04 +0200
committerDavid Robillard <d@drobilla.net>2019-04-14 19:28:46 +0200
commitc18706e33ad0bf651acf50501b93eb7a5677e833 (patch)
treec498914d58543d32b5d2aa4992a90dfbc94b8823 /pugl
parent7887266eaf79f020dae2dd0126dbf732e167a751 (diff)
downloadpugl-c18706e33ad0bf651acf50501b93eb7a5677e833.tar.gz
pugl-c18706e33ad0bf651acf50501b93eb7a5677e833.tar.bz2
pugl-c18706e33ad0bf651acf50501b93eb7a5677e833.zip
Fix MacOS build
Diffstat (limited to 'pugl')
-rw-r--r--pugl/pugl_osx.m5
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 {