summaryrefslogtreecommitdiff
path: root/test/test-render.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 01:54:19 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 01:54:19 +0100
commit0638aaaf2a60efae95a1b404d7eee29e894047bc (patch)
treecf66983319dfde55c6f34e279d1260744ea843d9 /test/test-render.cpp
parentExtend timeout... this can be a bit slow now (diff)
downloadilt-0638aaaf2a60efae95a1b404d7eee29e894047bc.tar.bz2
ilt-0638aaaf2a60efae95a1b404d7eee29e894047bc.tar.xz
ilt-0638aaaf2a60efae95a1b404d7eee29e894047bc.zip
No need to pass size around, we can get it back from the texture
Diffstat (limited to 'test/test-render.cpp')
-rw-r--r--test/test-render.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-render.cpp b/test/test-render.cpp
index 7771760..8c6b31c 100644
--- a/test/test-render.cpp
+++ b/test/test-render.cpp
@@ -73,7 +73,7 @@ BOOST_AUTO_TEST_CASE(basic)
const TestScene scene;
ss.render(scene);
glDisable(GL_DEBUG_OUTPUT);
- Texture::save(outImage, size, "/tmp/basic.tga");
+ Texture::save(outImage, "/tmp/basic.tga");
}
BOOST_AUTO_TEST_CASE(pointlight)
@@ -101,7 +101,7 @@ BOOST_AUTO_TEST_CASE(pointlight)
const PointLightScene scene;
ss.render(scene);
glDisable(GL_DEBUG_OUTPUT);
- Texture::save(outImage, size, "/tmp/pointlight.tga");
+ Texture::save(outImage, "/tmp/pointlight.tga");
}
BOOST_AUTO_TEST_CASE(spotlight)
@@ -128,7 +128,7 @@ BOOST_AUTO_TEST_CASE(spotlight)
const PointLightScene scene;
ss.render(scene);
glDisable(GL_DEBUG_OUTPUT);
- Texture::save(outImage, size, "/tmp/spotlight.tga");
+ Texture::save(outImage, "/tmp/spotlight.tga");
}
BOOST_AUTO_TEST_SUITE_END();