summaryrefslogtreecommitdiffhomepage
path: root/src/window
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-06-16 01:15:57 -0400
committerrealtradam <[email protected]>2023-06-16 01:15:57 -0400
commit94625b3133193acd22b68595fe922b7228528b11 (patch)
treef7e358545f5043df20695d0cf51dcf8caa10cb12 /src/window
parentacc9db32d765728b63162d6fc74a278d0da10b83 (diff)
downloadRodeoKit-matrixtemp.tar.gz
RodeoKit-matrixtemp.zip
fix matrix wrapper as well as a lot of refactoring cleanupmatrixtemp
Diffstat (limited to 'src/window')
-rw-r--r--src/window/rodeo_window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window/rodeo_window.c b/src/window/rodeo_window.c
index 59c7c18..40c1ccf 100644
--- a/src/window/rodeo_window.c
+++ b/src/window/rodeo_window.c
@@ -14,8 +14,8 @@ static irodeo_window_state_t irodeo_window_state = {0};
void
rodeo_window_init(
- uint16_t width,
- uint16_t height,
+ uint32_t width,
+ uint32_t height,
cstr title
)
{
@@ -58,8 +58,8 @@ rodeo_window_init(
cstr_str(&title),
SDL_WINDOWPOS_UNDEFINED,
SDL_WINDOWPOS_UNDEFINED,
- width,
- height,
+ (int32_t)width,
+ (int32_t)height,
SDL_WINDOW_SHOWN //| SDL_WINDOW_RESIZABLE
);
if(irodeo_window_state.window == NULL)