From 719c98711d4d816346cdc8f4bc95fc315c2eddc0 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 10 Jan 2023 17:57:20 +0000 Subject: Support creating test render output framebuffers of different sizes Includes a templated subclass to allow size to be specified in a test fixture --- test/testRenderOutput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/testRenderOutput.cpp') diff --git a/test/testRenderOutput.cpp b/test/testRenderOutput.cpp index 2a94a1b..464b0b3 100644 --- a/test/testRenderOutput.cpp +++ b/test/testRenderOutput.cpp @@ -1,7 +1,7 @@ #include "testRenderOutput.h" #include -TestRenderOutput::TestRenderOutput() : size {640, 480} +TestRenderOutput::TestRenderOutput(glm::ivec2 s) : size {s} { glBindFramebuffer(GL_FRAMEBUFFER, output); const auto configuregdata -- cgit v1.2.3