aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-03-12 19:14:19 -0400
committeriamcheeseman <[email protected]>2026-03-12 19:14:19 -0400
commit94141331ac0365c8eaa823d0ed1e8eb928f09dc6 (patch)
treebb2d52da44220417f747899c0d8cab21b804d1e9
parent1943aa1b865a36cb88564573cdcca71ac3554504 (diff)
Fix coloring
-rw-r--r--main.lua1
-rw-r--r--src/sprite.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 2453b53..96d6c09 100644
--- a/main.lua
+++ b/main.lua
@@ -57,6 +57,7 @@ function love.draw(dt)
local scr_width, scr_height = lg.getDimensions()
WindowScale = min(scr_width / SCR_WIDTH, scr_height / SCR_HEIGHT)
+ lg.setColor(1, 1, 1)
lg.draw(
viewport,
scr_width / 2, scr_height / 2, 0,
diff --git a/src/sprite.lua b/src/sprite.lua
index 49a7dd2..79a38bf 100644
--- a/src/sprite.lua
+++ b/src/sprite.lua
@@ -65,6 +65,7 @@ function sprite_draw_sys(ent)
sprite.width, sprite.height,
sprite.tex:getDimensions()
)
+ lg.setColor(1, 1, 1)
lg.draw(
sprite.tex, q,
ent.x or 0, ent.y or 0,