diff options
author | davidovski <david@davidovski.xyz> | 2023-04-24 13:38:10 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-04-24 13:38:10 +0100 |
commit | 7b6726504eca15933f7d5d14acf98cb3386acca4 (patch) | |
tree | ac227a27703a593e1c5237672c2ffda7cc5d5275 | |
parent | eac93d5524067f44e2601348cc1f658ee79a2486 (diff) |
Set zoom to default to tile size
-rw-r--r-- | tiled.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |