From de26596d549dfbda5775dfe0b80aa514422939e9 Mon Sep 17 00:00:00 2001 From: Misa Date: Mon, 15 Feb 2021 17:47:48 -0800 Subject: [PATCH] Fix FIXME comments with outdated referents in Screen.cpp These FIXME comments are still correct about code duplication, but they're incorrect about where exactly the original code is after the original code got moved around. So I've fixed them to refer to the correct locations. We really should get around to de-duplicating the code mentioned in these comments... --- desktop_version/src/Screen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop_version/src/Screen.cpp b/desktop_version/src/Screen.cpp index 7c7c6599..5c4fab1d 100644 --- a/desktop_version/src/Screen.cpp +++ b/desktop_version/src/Screen.cpp @@ -56,7 +56,7 @@ void Screen::init(const ScreenSettings& settings) // Uncomment this next line when you need to debug -flibit // SDL_SetHintWithPriority(SDL_HINT_RENDER_DRIVER, "software", SDL_HINT_OVERRIDE); - // FIXME: m_renderer is also created in Graphics::processVsync()! + // FIXME: m_renderer is also created in resetRendererWorkaround()! SDL_CreateWindowAndRenderer( 640, 480, @@ -79,7 +79,7 @@ void Screen::init(const ScreenSettings& settings) 0x000000FF, 0xFF000000 ); - // ALSO FIXME: This SDL_CreateTexture() is duplicated in Graphics::processVsync()! + // ALSO FIXME: This SDL_CreateTexture() is duplicated twice in this file! m_screenTexture = SDL_CreateTexture( m_renderer, SDL_PIXELFORMAT_ARGB8888,