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

summaryrefslogtreecommitdiff
path: root/source/application/StarRenderer_opengl.hpp
diff options
context:
space:
mode:
authorBottinator22 <59987380+Bottinator22@users.noreply.github.com>2024-08-21 19:21:50 -0700
committerGitHub <noreply@github.com>2024-08-21 19:21:50 -0700
commit8937f0d816b30b113c6042213a317ba143ea151b (patch)
tree3f24de15ec093207af2116b24f4087d3256d8326 /source/application/StarRenderer_opengl.hpp
parent50c987b1c4d869374eed49f372aacc3fa963d513 (diff)
Update StarRenderer_opengl.hpp
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);