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
+14 -1
View File
@@ -478,5 +478,18 @@ void RunHardwareDetection(bool writeSystemInfoBeforeDetection, Renderer::Backend
// Run the detection script:
JS::RootedValue global(rq.cx, rq.globalValue());
Script::Function::CallVoid(rq, global, "RunHardwareDetection", settings);
bool hardwareSupported{true};
Script::Function::Call(rq, global, "RunHardwareDetection", hardwareSupported, settings);
if (!hardwareSupported)
{
// 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"
);
}
}