summaryrefslogtreecommitdiff
path: root/test/src/main.rb
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2022-12-28 11:23:00 -0300
committerFrederico Linhares <fred@linhares.blue>2022-12-29 16:50:53 -0300
commitb0b61c117c6e2bc7693802f005a2888e7cc073c2 (patch)
treec05f8f0174ca81fc9b2b2e623a6f8067369d874f /test/src/main.rb
parent75337ae1c59e8b2c3bc6fbcd7ccafc7a8205d6b2 (diff)
refa Use QOI image format for textures
Diffstat (limited to 'test/src/main.rb')
-rw-r--r--test/src/main.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/main.rb b/test/src/main.rb
index 53e92a0..33d0b1d 100644
--- a/test/src/main.rb
+++ b/test/src/main.rb
@@ -23,7 +23,7 @@ def config()
end
def init()
- texture = CandyGear::Texture.from_image("textures/color_texture.png");
+ texture = CandyGear::Texture.from_image("textures/color_texture.qoi");
mesh = CandyGear::Mesh.new("meshes/cube.cgmesh");
$color = CandyGear::Vector3D.new(0.8, 0.2, 0.2);