- Fix IWADBoxCallback() and MENUDEF setup for GLES backend.

This commit is contained in:
Mitchell Richters 2022-12-11 19:45:07 +11:00
parent 36c38dab9a
commit 4bf8ea140c
2 changed files with 2 additions and 7 deletions

View file

@ -386,11 +386,8 @@ BOOL CALLBACK IWADBoxCallback(HWND hDlg, UINT message, WPARAM wParam, LPARAM lPa
case 1:
SendDlgItemMessage( hDlg, IDC_WELCOME_VULKAN2, BM_SETCHECK, BST_CHECKED, 0 );
break;
case 2:
SendDlgItemMessage( hDlg, IDC_WELCOME_VULKAN3, BM_SETCHECK, BST_CHECKED, 0 );
break;
#ifdef HAVE_GLES2
case 3:
case 2:
SendDlgItemMessage( hDlg, IDC_WELCOME_VULKAN4, BM_SETCHECK, BST_CHECKED, 0 );
break;
#endif

View file

@ -1648,9 +1648,7 @@ OptionValue PreferBackend
{
0, "$OPTVAL_OPENGL"
1, "$OPTVAL_VULKAN"
// Enable when HAVE_SOFTPOLY will be defined
//2, "$OPTVAL_SOFTPOLY"
3, "$OPTVAL_OPENGLES"
2, "$OPTVAL_OPENGLES"
}
OptionMenu VideoModeMenu protected