From 89b8ffa013c10db57be14fbdd59757c08c243e18 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 23 Feb 2026 17:35:48 +0000 Subject: Tidy the preFrame logic into a single function in SceneRenderer Clients now just call that one helper and SceneProvider passes in all the renderables. --- gfx/gl/sceneRenderer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/gl/sceneRenderer.h') diff --git a/gfx/gl/sceneRenderer.h b/gfx/gl/sceneRenderer.h index 2ec8057..d6f5dd1 100644 --- a/gfx/gl/sceneRenderer.h +++ b/gfx/gl/sceneRenderer.h @@ -17,8 +17,8 @@ public: void resize(ScreenAbsCoord size); + void preFrame(const SceneProvider & scene, LightDirection lightDirection); void render(const SceneProvider &) const; - std::pair preFrame(const LightDirection &); void setAmbientLight(const RGB & colour) const; void setDirectionalLight(const RGB & colour, const LightDirection & direction, const SceneProvider &) const; -- cgit v1.3