mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-31 13:20:34 +00:00
Add the vulkan renderer to the beginning fallback sequence.
The fallback sequence is now: vk -> gl3 -> gl1 -> soft -> failed.
This commit is contained in:
parent
6329a1dfcb
commit
a72cd9ea50
1 changed files with 7 additions and 2 deletions
|
@ -457,8 +457,13 @@ VID_CheckChanges(void)
|
|||
// Mkay, let's try our luck.
|
||||
while (!VID_LoadRenderer())
|
||||
{
|
||||
// We try: gl3 -> gl1 -> soft.
|
||||
if (strcmp(vid_renderer->string, "gl3") == 0)
|
||||
// We try: vk -> gl3 -> gl1 -> soft.
|
||||
if (strcmp(vid_renderer->string, "vk") == 0)
|
||||
{
|
||||
Com_Printf("Retrying with gl3...\n");
|
||||
Cvar_Set("vid_renderer", "gl3");
|
||||
}
|
||||
else if (strcmp(vid_renderer->string, "gl3") == 0)
|
||||
{
|
||||
Com_Printf("Retrying with gl1...\n");
|
||||
Cvar_Set("vid_renderer", "gl1");
|
||||
|
|
Loading…
Reference in a new issue