Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/application/StarRenderer_opengl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/application/StarRenderer_opengl.hpp')
-rw-r--r--source/application/StarRenderer_opengl.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/application/StarRenderer_opengl.hpp b/source/application/StarRenderer_opengl.hpp
index 035b906..36b8354 100644
--- a/source/application/StarRenderer_opengl.hpp
+++ b/source/application/StarRenderer_opengl.hpp
@@ -180,6 +180,7 @@ private:
Json config;
bool blitted = false;
unsigned multisample = 0;
+ unsigned sizeDiv = 1;
GlFrameBuffer(Json const& config);
~GlFrameBuffer();
@@ -197,6 +198,7 @@ private:
GLuint getAttribute(String const& name);
GLuint getUniform(String const& name);
+ bool includeVBTextures;
};
static bool logGlErrorSummary(String prefix);
@@ -211,7 +213,7 @@ private:
void renderGlBuffer(GlRenderBuffer const& renderBuffer, Mat3F const& transformation);
- void setupGlUniforms(Effect& effect);
+ void setupGlUniforms(Effect& effect, Vec2U screenSize);
RefPtr<OpenGlRenderer::GlFrameBuffer> getGlFrameBuffer(String const& id);
void blitGlFrameBuffer(RefPtr<OpenGlRenderer::GlFrameBuffer> const& frameBuffer);