From cb6957e78683cbe4887dac80c1ff23dc9523c4cf Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 6 Apr 2025 12:41:58 +0100 Subject: Drop WindowContent::render const ImGui promotes "doing things immediately" and this const makes that very awkward. --- ui/windowContent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/windowContent.h') diff --git a/ui/windowContent.h b/ui/windowContent.h index 762d1cc..34cbea3 100644 --- a/ui/windowContent.h +++ b/ui/windowContent.h @@ -14,7 +14,7 @@ public: NO_COPY(WindowContent); virtual void tick(TickDuration); - virtual void render() const = 0; + virtual void render() = 0; virtual bool handleInput(const SDL_Event & e); protected: -- cgit v1.2.3