summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-04-24 13:38:10 +0100
committerdavidovski <david@davidovski.xyz>2023-04-24 13:38:10 +0100
commit7b6726504eca15933f7d5d14acf98cb3386acca4 (patch)
treeac227a27703a593e1c5237672c2ffda7cc5d5275
parenteac93d5524067f44e2601348cc1f658ee79a2486 (diff)
Set zoom to default to tile size
-rw-r--r--tiled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tiled.c b/tiled.c
index fb51183..64118bb 100644
--- a/tiled.c
+++ b/tiled.c
@@ -25,7 +25,7 @@ int main() {
float resolution[2] = {SCREEN_W, SCREEN_H};
float offset[2] = {0, 0};
- float zoom = 1.0f;
+ float zoom = 16.0f;
Texture atlas = LoadTexture("tiles.png");
int resolutionLoc = GetShaderLocation(shader, "resolution");
int locationLoc = GetShaderLocation(shader, "offset");