Skip to content

Commit

Permalink
- Fix IWADBoxCallback() and MENUDEF setup for GLES backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjr4077au committed Dec 11, 2022
1 parent 36c38da commit 4bf8ea1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions source/common/platform/win32/i_system.cpp
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions wadsrc/static/menudef.txt
Expand Up @@ -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
Expand Down

0 comments on commit 4bf8ea1

Please sign in to comment.