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.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h
index 2860a7f..fea5959 100644
--- a/pugl/pugl_internal.h
+++ b/pugl/pugl_internal.h
@@ -61,11 +61,12 @@ puglInit(int* pargc, char** argv)
return NULL;
}
- view->hints = puglDefaultHints();
- view->ctx_type = PUGL_GL;
- view->impl = impl;
- view->width = 640;
- view->height = 480;
+ view->hints = puglDefaultHints();
+ view->ctx_type = PUGL_GL;
+ view->impl = impl;
+ view->width = 640;
+ view->height = 480;
+ view->start_time = puglGetTime(view);
return view;
}