From 7b6726504eca15933f7d5d14acf98cb3386acca4 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 24 Apr 2023 13:38:10 +0100 Subject: Set zoom to default to tile size --- tiled.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.1