summaryrefslogtreecommitdiff
path: root/test/testMainWindow.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/testMainWindow.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/testMainWindow.cpp')
-rw-r--r--test/testMainWindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/testMainWindow.cpp b/test/testMainWindow.cpp
index 49e18f1..57e3473 100644
--- a/test/testMainWindow.cpp
+++ b/test/testMainWindow.cpp
@@ -12,11 +12,12 @@ TestMainWindow::TestMainWindow() : Window {1, 1, __FILE__, SDL_WINDOW_OPENGL | S
(type == GL_DEBUG_TYPE_ERROR ? "** GL ERROR **" : ""), type, severity, message);
switch (type) {
case GL_DEBUG_TYPE_ERROR:
- case GL_DEBUG_TYPE_PERFORMANCE:
case GL_DEBUG_TYPE_PORTABILITY:
case GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR:
case GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR:
BOOST_TEST_ERROR(msg.get());
+ case GL_DEBUG_TYPE_PERFORMANCE:
+ BOOST_TEST_WARN(msg.get());
default:
BOOST_TEST_MESSAGE(msg.get());
}