Remove deprecated and unsued OpenGL backend

This commit is contained in:
Wojtek Figat
2020-12-30 11:27:37 +01:00
parent 4c205be617
commit 5e469a0ae3
68 changed files with 5 additions and 26520 deletions

View File

@@ -124,20 +124,6 @@ void SplashScreen::Show()
if (IsVisible() || CommandLine::Options.Headless)
return;
#if GRAPHICS_API_OPENGL && PLATFORM_WINDOWS
// Notes:
// We cannot show splash screen on OpenGL because it sucks.
// Actually it's because the first window we show (it should be the main editor window)
// the OpenGL backend will use its context to submit all graphics commands.
// also other contexts (child windows, tooltip windows, etc.)
// will share the main context command line.
// TODO: we could show the splash screen after the main window is created!
LOG(Warning, "The current platform does not support showing splash screen.");
#else
LOG(Info, "Showing splash screen");
// Create window
@@ -203,7 +189,6 @@ void SplashScreen::Show()
}
_window->Show();
#endif
}
void SplashScreen::Close()