diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-14 01:54:19 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-14 01:54:19 +0100 |
commit | 0638aaaf2a60efae95a1b404d7eee29e894047bc (patch) | |
tree | cf66983319dfde55c6f34e279d1260744ea843d9 /test/test-assetFactory.cpp | |
parent | Extend timeout... this can be a bit slow now (diff) | |
download | ilt-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-assetFactory.cpp')
-rw-r--r-- | test/test-assetFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-assetFactory.cpp b/test/test-assetFactory.cpp index 4fde5ed..59dc40d 100644 --- a/test/test-assetFactory.cpp +++ b/test/test-assetFactory.cpp @@ -32,7 +32,7 @@ public: glDisable(GL_DEBUG_OUTPUT); auto outpath = (TMP / boost::unit_test::framework::current_test_case().full_name()).replace_extension(".tga"); std::filesystem::create_directories(outpath.parent_path()); - Texture::save(outImage, size, outpath.c_str()); + Texture::save(outImage, outpath.c_str()); } void content(const SceneShader & shader) const override |