From 0d432961a29d509cd0d1fa80361f04009dcf9c17 Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Wed, 19 Mar 2025 03:19:38 +0000
Subject: Remove lots of stuff not required or superseded with ImGui use

---
 test/test-text.cpp | 14 --------------
 1 file changed, 14 deletions(-)

(limited to 'test/test-text.cpp')

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)
-- 
cgit v1.2.3