summaryrefslogtreecommitdiff
path: root/test/test-text.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-03-19 03:19:38 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-03-19 03:19:38 +0000
commit0d432961a29d509cd0d1fa80361f04009dcf9c17 (patch)
treebc7536b0ac454a3c466c904123b41498dc6b1905 /test/test-text.cpp
parentReplace basic query tool with a ImGui version (diff)
downloadilt-0d432961a29d509cd0d1fa80361f04009dcf9c17.tar.bz2
ilt-0d432961a29d509cd0d1fa80361f04009dcf9c17.tar.xz
ilt-0d432961a29d509cd0d1fa80361f04009dcf9c17.zip
Remove lots of stuff not required or superseded with ImGui use
Diffstat (limited to 'test/test-text.cpp')
-rw-r--r--test/test-text.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/test-text.cpp b/test/test-text.cpp
index b0a9503..0729ce8 100644
--- a/test/test-text.cpp
+++ b/test/test-text.cpp
@@ -7,7 +7,6 @@
#include "testMainWindow.h"
#include "testRenderOutput.h"
-#include "ui/text.h"
#include <array>
#include <gfx/models/texture.h>
#include <glm/glm.hpp>
@@ -112,19 +111,6 @@ BOOST_AUTO_TEST_CASE(render_font)
}
}
-BOOST_AUTO_TEST_CASE(render_text)
-{
- TestRenderOutput output;
- glBindFramebuffer(GL_FRAMEBUFFER, output.output);
- glViewport(0, 0, 640, 480);
- glEnable(GL_BLEND);
- glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
- Text t {"I Like Trains", *this, {{10, 10}, {200, 40}}, {1, 1, 1}};
- UIShader s {640, 480};
- t.render(s, {});
- Texture::save(output.outImage, "/tmp/text.tga");
-}
-
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(stream_vec)