mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
fixed infinite recursion in vid_preferbackend.
This commit is contained in:
parent
51e014c858
commit
16e8e71971
1 changed files with 2 additions and 1 deletions
|
@ -103,8 +103,9 @@ CUSTOM_CVAR(Int, vid_preferbackend, 1, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_N
|
|||
{
|
||||
#ifdef HAVE_GLES2
|
||||
case 3:
|
||||
case 2:
|
||||
self = 2;
|
||||
return; // beware of recursions here. Assigning to 'self' will recursively call this handler again.
|
||||
case 2:
|
||||
Printf("Selecting OpenGLES 2.0 backend...\n");
|
||||
break;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue