diff options
author | David Robillard <d@drobilla.net> | 2016-07-28 16:00:14 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-07-28 16:00:14 -0400 |
commit | cdd47a11d473b592a4516e736a65da957072c428 (patch) | |
tree | 2d42951032499edb4e08fc624fbbbd4fda2b0a84 /pugl/pugl_internal.h | |
parent | bc0c5c6393569ecb0d97fcfb02116452126a4da0 (diff) | |
download | pugl-cdd47a11d473b592a4516e736a65da957072c428.tar.gz pugl-cdd47a11d473b592a4516e736a65da957072c428.tar.bz2 pugl-cdd47a11d473b592a4516e736a65da957072c428.zip |
Add support for Cairo on GL
Diffstat (limited to 'pugl/pugl_internal.h')
-rw-r--r-- | pugl/pugl_internal.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h index 1238ebc..778ff1f 100644 --- a/pugl/pugl_internal.h +++ b/pugl/pugl_internal.h @@ -1,5 +1,5 @@ /* - Copyright 2012-2015 David Robillard <http://drobilla.net> + Copyright 2012-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 @@ -86,9 +86,10 @@ puglInit(int* pargc, char** argv) return NULL; } - view->impl = impl; - view->width = 640; - view->height = 480; + view->ctx_type = PUGL_GL; + view->impl = impl; + view->width = 640; + view->height = 480; return view; } |