Skip to content

Commit

Permalink
xr_ioc_cmd: Correctly select the OpenGL renderer.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Nov 28, 2015
1 parent a5e6472 commit b218be3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xrEngine/xr_ioc_cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,8 @@ class CCC_r2 : public CCC_Token
// 4 - r3
psDeviceFlags.set(rsR2, ((renderer_value > 0) && renderer_value < 4));
psDeviceFlags.set(rsR3, (renderer_value == 4));
psDeviceFlags.set(rsR4, (renderer_value >= 5));
psDeviceFlags.set(rsR4, (renderer_value == 5));
psDeviceFlags.set(rsGL, (renderer_value >= 6));

r2_sun_static = (renderer_value < 2);

Expand Down

0 comments on commit b218be3

Please sign in to comment.