mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Remove outdated FIXMEs from Screen.cpp
The VSync renderer workaround is no longer a thing, so these comments should go away.
This commit is contained in:
@@ -58,7 +58,6 @@ void Screen::init(const ScreenSettings& settings)
|
|||||||
|
|
||||||
// Uncomment this next line when you need to debug -flibit
|
// Uncomment this next line when you need to debug -flibit
|
||||||
// SDL_SetHintWithPriority(SDL_HINT_RENDER_DRIVER, "software", SDL_HINT_OVERRIDE);
|
// SDL_SetHintWithPriority(SDL_HINT_RENDER_DRIVER, "software", SDL_HINT_OVERRIDE);
|
||||||
// FIXME: m_renderer is also created in resetRendererWorkaround()!
|
|
||||||
SDL_CreateWindowAndRenderer(
|
SDL_CreateWindowAndRenderer(
|
||||||
640,
|
640,
|
||||||
480,
|
480,
|
||||||
@@ -81,7 +80,6 @@ void Screen::init(const ScreenSettings& settings)
|
|||||||
0x000000FF,
|
0x000000FF,
|
||||||
0xFF000000
|
0xFF000000
|
||||||
);
|
);
|
||||||
// ALSO FIXME: This SDL_CreateTexture() is duplicated twice in this file!
|
|
||||||
m_screenTexture = SDL_CreateTexture(
|
m_screenTexture = SDL_CreateTexture(
|
||||||
m_renderer,
|
m_renderer,
|
||||||
SDL_PIXELFORMAT_ARGB8888,
|
SDL_PIXELFORMAT_ARGB8888,
|
||||||
|
|||||||
Reference in New Issue
Block a user