summaryrefslogtreecommitdiff
path: root/test/test-render.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-19 00:51:35 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-19 00:51:35 +0100
commit93f11a006b94ccecd7a1fd1dfba0adff56ae7c38 (patch)
tree6fdc02638271f571c4fb3e93c321b793e9dc198e /test/test-render.cpp
parentFix location of model matrix in vertex shader (diff)
downloadilt-93f11a006b94ccecd7a1fd1dfba0adff56ae7c38.tar.bz2
ilt-93f11a006b94ccecd7a1fd1dfba0adff56ae7c38.tar.xz
ilt-93f11a006b94ccecd7a1fd1dfba0adff56ae7c38.zip
Drop performance debug to warning and stop disabling error checking for texture save
Diffstat (limited to 'test/test-render.cpp')
-rw-r--r--test/test-render.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/test-render.cpp b/test/test-render.cpp
index 45acab5..1643068 100644
--- a/test/test-render.cpp
+++ b/test/test-render.cpp
@@ -86,7 +86,6 @@ BOOST_AUTO_TEST_CASE(basic)
ss.camera.setView({-10, -10, 60}, glm::normalize(glm::vec3 {1, 1, -0.5F}));
const TestScene scene;
ss.render(scene);
- glDisable(GL_DEBUG_OUTPUT);
Texture::save(outImage, "/tmp/basic.tga");
}
@@ -114,7 +113,6 @@ BOOST_AUTO_TEST_CASE(pointlight)
};
const PointLightScene scene;
ss.render(scene);
- glDisable(GL_DEBUG_OUTPUT);
Texture::save(outImage, "/tmp/pointlight.tga");
}
@@ -141,7 +139,6 @@ BOOST_AUTO_TEST_CASE(spotlight)
};
const PointLightScene scene;
ss.render(scene);
- glDisable(GL_DEBUG_OUTPUT);
Texture::save(outImage, "/tmp/spotlight.tga");
}