diff options
Diffstat (limited to 'games/koala_seasons')
| -rw-r--r-- | games/koala_seasons/Makefile | 2 | ||||
| -rw-r--r-- | games/koala_seasons/resources/shaders/glsl100/blend_color.fs | 4 | ||||
| -rw-r--r-- | games/koala_seasons/screens/screen_gameplay.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/games/koala_seasons/Makefile b/games/koala_seasons/Makefile index 0928d3ad..c9eee6ff 100644 --- a/games/koala_seasons/Makefile +++ b/games/koala_seasons/Makefile @@ -94,7 +94,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) endif endif ifeq ($(PLATFORM),PLATFORM_WEB) - CFLAGS = -O1 -Wall -std=c99 -D_DEFAULT_SOURCE -s USE_GLFW=3 -s ASSERTIONS=1 --profiling --preload-file resources -s ALLOW_MEMORY_GROWTH=1 + CFLAGS = -O1 -Wall -std=c99 -DPLATFORM_WEB -D_DEFAULT_SOURCE -s USE_GLFW=3 -s ASSERTIONS=1 -s TOTAL_MEMORY=67108864 --profiling --preload-file resources # -O2 # if used, also set --memory-init-file 0 # --memory-init-file 0 # to avoid an external memory initialization code file (.mem) # -s ALLOW_MEMORY_GROWTH=1 # to allow memory resizing diff --git a/games/koala_seasons/resources/shaders/glsl100/blend_color.fs b/games/koala_seasons/resources/shaders/glsl100/blend_color.fs index eceb16be..ae23f941 100644 --- a/games/koala_seasons/resources/shaders/glsl100/blend_color.fs +++ b/games/koala_seasons/resources/shaders/glsl100/blend_color.fs @@ -3,8 +3,8 @@ precision mediump float; // Input vertex attributes (from vertex shader) -in vec2 fragTexCoord; -in vec4 fragColor; +varying vec2 fragTexCoord; +varying vec4 fragColor; // Input uniform values uniform sampler2D texture0; diff --git a/games/koala_seasons/screens/screen_gameplay.c b/games/koala_seasons/screens/screen_gameplay.c index de698df6..6bbcfaaf 100644 --- a/games/koala_seasons/screens/screen_gameplay.c +++ b/games/koala_seasons/screens/screen_gameplay.c @@ -490,7 +490,7 @@ void UpdateGameplayScreen(void) if (monthTimer >= monthChange) { - if ((currentMonth == 10)) + if (currentMonth == 10) { clockInitRotation = 225; clockFinalRotation = clockInitRotation + 90; |
