Веб-сайт самохостера 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.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/application/StarRenderer_opengl.hpp b/source/application/StarRenderer_opengl.hpp
index 61c67c9..035b906 100644
--- a/source/application/StarRenderer_opengl.hpp
+++ b/source/application/StarRenderer_opengl.hpp
@@ -143,6 +143,7 @@ private:
size_t vertexCount = 0;
};
+ GlRenderBuffer();
~GlRenderBuffer();
void set(List<RenderPrimitive>& primitives) override;
@@ -152,6 +153,7 @@ private:
HashSet<TexturePtr> usedTextures;
List<GlVertexBuffer> vertexBuffers;
+ GLuint vertexArray = 0;
bool useMultiTexturing{true};
};