aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_internal.h')
-rw-r--r--pugl/pugl_internal.h9
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;
}