From 49f1dad6b9deeb769e384ae547fca9f64b90bf79 Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 19 Aug 2022 13:38:09 +0300 Subject: Moved to raylib 4.2.0. Renamed some directory functions to raylib 4.2.0 conventions. Removed GenMeshBinormals and GetRayCollisionModel. Sound and music pan. --- src/state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/state.c') diff --git a/src/state.c b/src/state.c index c87d064..8cecdcd 100644 --- a/src/state.c +++ b/src/state.c @@ -13,7 +13,7 @@ bool stateInit( const char *exePath ) { state->hasWindow = true; state->run = true; - state->resolution = (Vector2){ 1024, 720 }; + state->resolution = (Vector2){ 800, 600 }; state->luaState = NULL; state->textureSource = TEXTURE_SOURCE_TEXTURE; /* Images. */ @@ -93,7 +93,7 @@ bool stateInit( const char *exePath ) { state->materials[i] = NULL; } } - + InitWindow( state->resolution.x, state->resolution.y, "ReiLua" ); /* Has to be after InitWindod where opengl context is created. */ state->materials[0] = malloc( sizeof( Material ) ); -- cgit v1.2.3