mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 05:57:08 +01:00
Drop what the rebase fix-up c0ebdd5 brought back that the base no longer has
The second "null" renderer branch of select_gfx_backend(), the opaque text displays (Render_text) and the catch of std::exception in scenarioloader_mode::update(): the base's own code again (std::runtime_error, its own null branch). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
This commit is contained in:
@@ -1538,12 +1538,7 @@ void eu07_application::select_gfx_backend()
|
||||
auto *factory{gfx_renderer_factory::get_instance()};
|
||||
m_gfxbackend = nullptr;
|
||||
|
||||
if (Global.GfxRenderer == "null")
|
||||
{
|
||||
// draws nothing and loads no textures (test mode)
|
||||
m_gfxbackend = factory->backend("null");
|
||||
}
|
||||
else if (Global.GfxRenderer == "vulkan")
|
||||
if (Global.GfxRenderer == "vulkan")
|
||||
{
|
||||
// a renderer which can't run here falls back to opengl, so a setting in eu07.ini doesn't leave the user with a black screen
|
||||
std::string reason;
|
||||
|
||||
Reference in New Issue
Block a user