summaryrefslogtreecommitdiff
path: root/ui/windowContent.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-04-06 12:41:58 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2025-04-06 13:29:09 +0100
commitcb6957e78683cbe4887dac80c1ff23dc9523c4cf (patch)
tree11ada8dad7a1bab3434f8ca98d7e3fe2cb425acd /ui/windowContent.h
parentMerge branch 'openmesh-11' (diff)
downloadilt-cb6957e78683cbe4887dac80c1ff23dc9523c4cf.tar.bz2
ilt-cb6957e78683cbe4887dac80c1ff23dc9523c4cf.tar.xz
ilt-cb6957e78683cbe4887dac80c1ff23dc9523c4cf.zip
Drop WindowContent::render const
ImGui promotes "doing things immediately" and this const makes that very awkward.
Diffstat (limited to 'ui/windowContent.h')
-rw-r--r--ui/windowContent.h2
1 files changed, 1 insertions, 1 deletions
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: