mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-09 18:35:40 +00:00
Removes RenderPath
We can render the game only with shaders so we don't need to support fixed function pipeline as a separate render path. We only need to know when to warn a user. Fixes #6244
This commit is contained in:
@@ -617,19 +617,6 @@ bool Init(const CmdLineArgs& args, int flags)
|
||||
|
||||
g_GUI = new CGUIManager{scriptContext, scriptInterface};
|
||||
|
||||
|
||||
if (RenderPathEnum::FromString(g_ConfigDB.Get("renderpath", "default"s)) == FIXED)
|
||||
{
|
||||
// It doesn't make sense to continue working here, because we're not
|
||||
// able to display anything.
|
||||
DEBUG_DISPLAY_FATAL_ERROR(
|
||||
L"Your graphics card doesn't appear to be fully compatible with OpenGL shaders."
|
||||
L" The game does not support pre-shader graphics cards."
|
||||
L" You are advised to try installing newer drivers and/or upgrade your graphics card."
|
||||
L" For more information, please see http://www.wildfiregames.com/forum/index.php?showtopic=16734"
|
||||
);
|
||||
}
|
||||
|
||||
g_RenderingOptions.ReadConfigAndSetupHooks();
|
||||
|
||||
// create renderer
|
||||
|
||||
Reference in New Issue
Block a user