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:
Vladislav Belov
2026-07-07 23:12:45 +02:00
parent fb38c8781b
commit 46af67b5bd
13 changed files with 27 additions and 126 deletions
-13
View File
@@ -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