summaryrefslogtreecommitdiff
path: root/prge_window.c
diff options
context:
space:
mode:
Diffstat (limited to 'prge_window.c')
-rw-r--r--prge_window.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/prge_window.c b/prge_window.c
index 444866c..f132102 100644
--- a/prge_window.c
+++ b/prge_window.c
@@ -1,10 +1,10 @@
-Window window_init(S32 width, S32 height, Str8 name)
+PRGEWindow init_window(S32 w, S32 h, const char *name, U32 flags)
{
- Window wnd;
-
- wnd.width = width;
- wnd.height = height;
- wnd.name = name;
-
+ PRGEWindow wnd = {
+ .w = w,
+ .h = h,
+ .name = name,
+ .flags = flags
+ };
return wnd;
}