diff options
Diffstat (limited to 'pugl_test.c')
-rw-r--r-- | pugl_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pugl_test.c b/pugl_test.c index 63bc7d6..c209aef 100644 --- a/pugl_test.c +++ b/pugl_test.c @@ -89,7 +89,8 @@ onClose(PuglWindow* win) int main(int argc, char** argv) { - PuglWindow* win = puglCreate(0, "Pugl Test", 512, 512); + bool resizable = argc > 1; + PuglWindow* win = puglCreate(0, "Pugl Test", 512, 512, resizable); puglSetKeyboardFunc(win, onKeyboard); puglSetMotionFunc(win, onMotion); puglSetMouseFunc(win, onMouse); |