Plumb through a ScreenRenderMode parameter

This commit is contained in:
Henrik Rydgård committed 2023-12-10 13:05:17 +01:00
1 parent 600fb7cc22
commit 22295a6412
17 files changed
+38 -30

No files matched your search

+2 -2
View File
@@ -713,8 +713,8 @@ void TouchTestScreen::axis(const AxisInput &axis) {
UpdateLogView();
}
void TouchTestScreen::render() {
UIDialogScreenWithGameBackground::render();
void TouchTestScreen::render(ScreenRenderMode mode) {
UIDialogScreenWithGameBackground::render(mode);
UIContext *ui_context = screenManager()->getUIContext();
Bounds bounds = ui_context->GetLayoutBounds();