aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/common.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-07-28 16:00:14 -0400
committerDavid Robillard <d@drobilla.net>2016-07-28 16:00:14 -0400
commitcdd47a11d473b592a4516e736a65da957072c428 (patch)
tree2d42951032499edb4e08fc624fbbbd4fda2b0a84 /pugl/common.h
parentbc0c5c6393569ecb0d97fcfb02116452126a4da0 (diff)
downloadpugl-cdd47a11d473b592a4516e736a65da957072c428.tar.gz
pugl-cdd47a11d473b592a4516e736a65da957072c428.tar.bz2
pugl-cdd47a11d473b592a4516e736a65da957072c428.zip
Add support for Cairo on GL
Diffstat (limited to 'pugl/common.h')
-rw-r--r--pugl/common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/pugl/common.h b/pugl/common.h
index 54ec6ef..3abab82 100644
--- a/pugl/common.h
+++ b/pugl/common.h
@@ -1,5 +1,5 @@
/*
- Copyright 2014 David Robillard <http://drobilla.net>
+ Copyright 2014-2016 David Robillard <http://drobilla.net>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
@@ -56,8 +56,9 @@ typedef enum {
Drawing context type.
*/
typedef enum {
- PUGL_GL,
- PUGL_CAIRO
+ PUGL_GL = 0x1,
+ PUGL_CAIRO = 0x2,
+ PUGL_CAIRO_GL = 0x3
} PuglContextType;
/**