summaryrefslogtreecommitdiff
path: root/gfx/gl/sceneRenderer.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-01-02 17:26:23 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-01-02 17:26:23 +0000
commitb7b5db10f9b99815d8a32fafde27c0c51f7e26d3 (patch)
treeda031c708b90a614bd1f47bf92ba76878c98142f /gfx/gl/sceneRenderer.h
parentAdd gl_traits for all the common types (diff)
downloadilt-b7b5db10f9b99815d8a32fafde27c0c51f7e26d3.tar.bz2
ilt-b7b5db10f9b99815d8a32fafde27c0c51f7e26d3.tar.xz
ilt-b7b5db10f9b99815d8a32fafde27c0c51f7e26d3.zip
Single helper for rendering the fullscreen quad
Diffstat (limited to 'gfx/gl/sceneRenderer.h')
-rw-r--r--gfx/gl/sceneRenderer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/gl/sceneRenderer.h b/gfx/gl/sceneRenderer.h
index 28acc3b..5f6a36e 100644
--- a/gfx/gl/sceneRenderer.h
+++ b/gfx/gl/sceneRenderer.h
@@ -20,6 +20,8 @@ public:
Camera camera;
private:
+ void renderQuad() const;
+
glm::ivec2 size;
GLuint output;
glFrameBuffer gBuffer;