summaryrefslogtreecommitdiff
path: root/src/background.c
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2025-08-26 19:54:09 +0300
committerBoredGuy <osome3717@gmail.com>2025-08-26 19:54:09 +0300
commitf95068d73410aa6d01e8ba91b430ca05d404a57b (patch)
tree84de322f972182510e48aaa374ae8a62ac3ee2b5 /src/background.c
parent87d07175058ee4ae18fce608de81c68d7d9bb178 (diff)
Added barrel, next up sprite Z-sorting(ugh)
Diffstat (limited to 'src/background.c')
-rw-r--r--src/background.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/background.c b/src/background.c
index d3647cf..7929fa1 100644
--- a/src/background.c
+++ b/src/background.c
@@ -37,6 +37,7 @@ void AddBackground(const char* backgroundTextureName) {
.layer = Background_Layer,
.numAnimations = 0,
+ .srcRect = {0, 0, backgroundTexture.width, backgroundTexture.height},
.destRect = {NO_OFFSET, NO_OFFSET, backgroundBounds.x, backgroundBounds.y}
};