summaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
authorjussi2022-08-19 13:38:09 +0300
committerjussi2022-08-19 13:38:09 +0300
commit49f1dad6b9deeb769e384ae547fca9f64b90bf79 (patch)
treeb02b240d6c11c1bf29c3dc6ac9a7063137b4c971 /src/state.c
parent4f54a0a4992358c633e5e3535e2980211028f3a2 (diff)
downloadreilua-enhanced-49f1dad6b9deeb769e384ae547fca9f64b90bf79.tar.gz
reilua-enhanced-49f1dad6b9deeb769e384ae547fca9f64b90bf79.tar.bz2
reilua-enhanced-49f1dad6b9deeb769e384ae547fca9f64b90bf79.zip
Moved to raylib 4.2.0. Renamed some directory functions to raylib 4.2.0 conventions. Removed GenMeshBinormals and GetRayCollisionModel. Sound and music pan.
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c4
1 files changed, 2 insertions, 2 deletions
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 ) );