aboutsummaryrefslogtreecommitdiff
path: root/pugl/cairo_gl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-07-28 20:26:46 -0400
committerDavid Robillard <d@drobilla.net>2016-07-28 20:26:46 -0400
commit35f9d58bae065d2ed9ae0f95246cf298b2dcf8b4 (patch)
treeac8e1448a0b01eb7e2a139cf2447bfff36ed072c /pugl/cairo_gl.h
parentcdd47a11d473b592a4516e736a65da957072c428 (diff)
downloadsynthpod-35f9d58bae065d2ed9ae0f95246cf298b2dcf8b4.tar.xz
Add support for Cairo on OSX
Diffstat (limited to 'pugl/cairo_gl.h')
-rw-r--r--pugl/cairo_gl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pugl/cairo_gl.h b/pugl/cairo_gl.h
index a558b42a..fe296bbc 100644
--- a/pugl/cairo_gl.h
+++ b/pugl/cairo_gl.h
@@ -16,8 +16,11 @@
#if defined(PUGL_HAVE_GL) && defined(PUGL_HAVE_CAIRO)
+#include <cairo.h>
#include <stdint.h>
+#include "pugl/gl.h"
+
typedef struct {
unsigned texture_id;
uint8_t* buffer;