Skip to content

Commit b218be3

Browse files
committed
xr_ioc_cmd: Correctly select the OpenGL renderer.
1 parent a5e6472 commit b218be3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/xrEngine/xr_ioc_cmd.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,8 @@ class CCC_r2 : public CCC_Token
566566
// 4 - r3
567567
psDeviceFlags.set(rsR2, ((renderer_value > 0) && renderer_value < 4));
568568
psDeviceFlags.set(rsR3, (renderer_value == 4));
569-
psDeviceFlags.set(rsR4, (renderer_value >= 5));
569+
psDeviceFlags.set(rsR4, (renderer_value == 5));
570+
psDeviceFlags.set(rsGL, (renderer_value >= 6));
570571

571572
r2_sun_static = (renderer_value < 2);
572573

0 commit comments

Comments
 (0)