Update StarRenderer_opengl.hpp

This commit is contained in:
Bottinator22 2024-08-21 19:21:50 -07:00 committed by GitHub
parent 50c987b1c4
commit 8937f0d816
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);