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

summaryrefslogtreecommitdiff
path: root/source/application/StarRenderer_opengl.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-04-08 16:12:48 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-04-08 16:12:48 +1000
commit4a3ffadecba57e64ebd8f6f6c4d15744c38e52b9 (patch)
treefa591190bb29b0c93487a5c368041c9cd72ef190 /source/application/StarRenderer_opengl.hpp
parent9ef38ce076189dbf9f0ca8c0641febf6ea4038a7 (diff)
Expose assets lua callbacks to patch contexts
Diffstat (limited to 'source/application/StarRenderer_opengl.hpp')
-rw-r--r--source/application/StarRenderer_opengl.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/application/StarRenderer_opengl.hpp b/source/application/StarRenderer_opengl.hpp
index 563ac96..61c67c9 100644
--- a/source/application/StarRenderer_opengl.hpp
+++ b/source/application/StarRenderer_opengl.hpp
@@ -42,7 +42,7 @@ public:
void render(RenderPrimitive primitive) override;
void renderBuffer(RenderBufferPtr const& renderBuffer, Mat3F const& transformation) override;
- void flush() override;
+ void flush(Mat3F const& transformation) override;
void setScreenSize(Vec2U screenSize);
@@ -205,7 +205,7 @@ private:
shared_ptr<GlRenderBuffer> createGlRenderBuffer();
- void flushImmediatePrimitives();
+ void flushImmediatePrimitives(Mat3F const& transformation = Mat3F::identity());
void renderGlBuffer(GlRenderBuffer const& renderBuffer, Mat3F const& transformation);