Skip to content

Commit

Permalink
fix: revert vid_preferbackend to opengl
Browse files Browse the repository at this point in the history
This is what we need for VR
  • Loading branch information
emawind84 committed Mar 24, 2024
1 parent 590a9e3 commit ccaba61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/rendering/v_video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ CUSTOM_CVAR(Int, vid_maxfps, 200, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
}
}

CUSTOM_CVAR(Int, vid_preferbackend, 1, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
CUSTOM_CVAR(Int, vid_preferbackend, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
{
// [SP] This may seem pointless - but I don't want to implement live switching just
// yet - I'm pretty sure it's going to require a lot of reinits and destructions to
Expand Down
1 change: 1 addition & 0 deletions src/win32/QZDoomVR.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ REM Change working folder to .bat location, so we can find the executable, even
cd /d "%~dp0"
REM Place extra arguments first, since that seems to work better for brutal doom pk3 file.
qzdoom.exe %* ^
+vid_preferbackend 0 ^
+vid_vsync false ^
+vr_mode 10 ^
+turbo 80 ^
Expand Down

0 comments on commit ccaba61

Please sign in to comment.