We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2118fe commit 44049fcCopy full SHA for 44049fc
src/xrEngine/EngineAPI.cpp
@@ -191,10 +191,9 @@ void CEngineAPI::CreateRendererList()
191
hRenderR1 = std::make_unique<XRay::Module>("xrRender_R1");
192
193
xr_vector<xr_token> modes;
194
- // load only R1 for dedicated server,
195
- // but if it's unavailable, then try other renderers
196
- if (GEnv.isDedicatedServer && hRenderR1->exist())
+ if (GEnv.isDedicatedServer)
197
{
+ R_ASSERT2(hRenderR1->exist(), "Dedicated server needs xrRender_R1 to work");
198
modes.push_back(xr_token("renderer_r1", 0));
199
modes.push_back(xr_token(nullptr, -1));
200
vid_quality_token = std::move(modes);
0 commit comments