From 7ad797275b79ac9b33c6d613c1d2503058f573a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Mon, 22 Jul 2019 16:18:05 +0200 Subject: [PATCH] Make Renderer::ResetModes actually reset modes See 2333786. --- src/graphics/Renderer.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/graphics/Renderer.cpp b/src/graphics/Renderer.cpp index 811aae5df..a046ac4d5 100644 --- a/src/graphics/Renderer.cpp +++ b/src/graphics/Renderer.cpp @@ -2940,10 +2940,9 @@ unsigned int Renderer::GetColourMode() void Renderer::ResetModes() { + SetRenderMode({ RENDER_BASC, RENDER_FIRE, RENDER_SPRK }); + SetDisplayMode({ }); SetColourMode(COLOUR_DEFAULT); - AddRenderMode(RENDER_BASC); - AddRenderMode(RENDER_FIRE); - AddRenderMode(RENDER_SPRK); } VideoBuffer Renderer::DumpFrame()