summaryrefslogtreecommitdiff
path: root/test/testRenderOutput.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-08-18 16:05:05 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-08-18 16:05:05 +0100
commit1bbbdfe0d9e9e7a4e42241a2eb596b46ac02c65b (patch)
tree1791a51d47d4547b92317f68a6752a458a1542c1 /test/testRenderOutput.h
parentOffset shaded position to reduce chance of self-shadowing (diff)
downloadilt-1bbbdfe0d9e9e7a4e42241a2eb596b46ac02c65b.tar.bz2
ilt-1bbbdfe0d9e9e7a4e42241a2eb596b46ac02c65b.tar.xz
ilt-1bbbdfe0d9e9e7a4e42241a2eb596b46ac02c65b.zip
Populate GameState::assets in appropriate tests
Diffstat (limited to 'test/testRenderOutput.h')
-rw-r--r--test/testRenderOutput.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testRenderOutput.h b/test/testRenderOutput.h
index 056d029..79908b1 100644
--- a/test/testRenderOutput.h
+++ b/test/testRenderOutput.h
@@ -1,6 +1,7 @@
#pragma once
#include "config/types.h"
+#include "game/gamestate.h"
#include "glArrays.h"
#include <glm/vec2.hpp>
#include <special_members.h>
@@ -17,6 +18,7 @@ public:
glFrameBuffer output;
glRenderBuffer depth;
glTexture outImage;
+ GameState gameState;
};
template<TextureAbsCoord Size> class TestRenderOutputSize : public TestRenderOutput {