summaryrefslogtreecommitdiff
path: root/src/background.c
diff options
context:
space:
mode:
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}
};