diff options
| author | jussi | 2022-08-19 13:38:09 +0300 |
|---|---|---|
| committer | jussi | 2022-08-19 13:38:09 +0300 |
| commit | 49f1dad6b9deeb769e384ae547fca9f64b90bf79 (patch) | |
| tree | b02b240d6c11c1bf29c3dc6ac9a7063137b4c971 /src/state.c | |
| parent | 4f54a0a4992358c633e5e3535e2980211028f3a2 (diff) | |
| download | reilua-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.c | 4 |
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 ) ); |
