From 92a8eb610f40c9770569ca63ca1bd705a6d3497d Mon Sep 17 00:00:00 2001 From: pryazha Date: Thu, 27 Mar 2025 08:27:46 +0500 Subject: audio, renaming --- prge_window.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'prge_window.c') 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; } -- cgit v1.2.3-70-g09d2