GSDX-OGL: gray out MSAA on opengl renderer

It's currently unimplemented on OpenGL renderer.
This commit is contained in:
Akash 2016-03-05 22:24:00 +05:30
parent 4ff1f31ecd
commit 9b0ecdf43f
3 changed files with 40 additions and 38 deletions

View File

@ -676,7 +676,8 @@ void GSHacksDlg::OnInit()
ShowWindow(GetDlgItem(m_hWnd, IDC_ALPHASTENCIL), ogl ? SW_HIDE : SW_SHOW);
ShowWindow(GetDlgItem(m_hWnd, IDC_ALPHAHACK), ogl ? SW_HIDE : SW_SHOW);
ShowWindow(GetDlgItem(m_hWnd, IDC_SAFE_FBMASK), ogl ? SW_SHOW : SW_HIDE);
EnableWindow(GetDlgItem(m_hWnd, IDC_MSAACB), !ogl);
EnableWindow(GetDlgItem(m_hWnd, IDC_MSAA_TEXT), !ogl);
AddTooltip(IDC_SKIPDRAWHACKEDIT);
AddTooltip(IDC_SKIPDRAWHACK);

View File

@ -97,7 +97,7 @@ BEGIN
DEFPUSHBUTTON "OK",IDOK,88,181,66,14
GROUPBOX "USE AT YOUR OWN RISK!",IDC_STATIC,7,7,147,171,0,WS_EX_TRANSPARENT
CONTROL "Preload Data Frame",IDC_PRELOAD_GS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,95,80,8
RTEXT "MSAA:",IDC_STATIC,62,20,22,8
RTEXT "MSAA:",IDC_MSAA_TEXT,62,20,22,8
RTEXT "Skipdraw:",IDC_STATIC,52,36,32,8
EDITTEXT IDC_SKIPDRAWHACKEDIT,88,33,58,14,ES_RIGHT | ES_AUTOHSCROLL
CONTROL "",IDC_SKIPDRAWHACK,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,113,34,11,14

View File

@ -55,41 +55,42 @@
#define IDC_BRIGHTNESS_TEXT 2050
#define IDC_CONTRAST_TEXT 2051
#define IDC_MSAACB 2052
#define IDC_HACKSBUTTON 2053
#define IDC_WILDHACK 2054
#define IDC_CHECK_DISABLE_ALL_HACKS 2055
#define IDC_ALPHASTENCIL 2056
#define IDC_ADAPTER 2057
#define IDC_TCOFFSETX 2058
#define IDC_TCOFFSETX2 2059
#define IDC_TCOFFSETY 2060
#define IDC_TCOFFSETY2 2061
#define IDC_FXAA 2062
#define IDC_SHADER_FX 2063
#define IDC_AFCOMBO_TEXT 2064
#define IDC_AFCOMBO 2065
#define IDC_OPENCL_DEVICE 2066
#define IDC_OPENCL_TEXT 2067
#define IDC_ACCURATE_BLEND_UNIT 2068
#define IDC_ACCURATE_DATE 2069
#define IDC_ROUND_SPRITE 2070
#define IDC_ALIGN_SPRITE 2071
#define IDC_CRC_LEVEL 2072
#define IDC_CRC_LEVEL_TEXT 2073
#define IDC_TC_DEPTH 2074
#define IDC_COLORSPACE 2075
#define IDC_SHADER_FX_EDIT 2076
#define IDC_SHADER_FX_CONF_EDIT 2077
#define IDC_SHADER_FX_BUTTON 2078
#define IDC_SHADER_FX_CONF_BUTTON 2079
#define IDC_SHADER_FX_TEXT 2080
#define IDC_SHADER_FX_CONF_TEXT 2081
#define IDC_CUSTOM_TEXT 2082
#define IDC_UPSCALE_MULTIPLIER_TEXT 2083
#define IDC_MIPMAP 2084
#define IDC_PRELOAD_GS 2085
#define IDC_TVSHADER 2086
#define IDC_SAFE_FBMASK 2087
#define IDC_MSAA_TEXT 2053
#define IDC_HACKSBUTTON 2054
#define IDC_WILDHACK 2055
#define IDC_CHECK_DISABLE_ALL_HACKS 2056
#define IDC_ALPHASTENCIL 2057
#define IDC_ADAPTER 2058
#define IDC_TCOFFSETX 2059
#define IDC_TCOFFSETX2 2060
#define IDC_TCOFFSETY 2061
#define IDC_TCOFFSETY2 2062
#define IDC_FXAA 2063
#define IDC_SHADER_FX 2064
#define IDC_AFCOMBO_TEXT 2065
#define IDC_AFCOMBO 2066
#define IDC_OPENCL_DEVICE 2067
#define IDC_OPENCL_TEXT 2068
#define IDC_ACCURATE_BLEND_UNIT 2069
#define IDC_ACCURATE_DATE 2070
#define IDC_ROUND_SPRITE 2071
#define IDC_ALIGN_SPRITE 2072
#define IDC_CRC_LEVEL 2073
#define IDC_CRC_LEVEL_TEXT 2074
#define IDC_TC_DEPTH 2075
#define IDC_COLORSPACE 2076
#define IDC_SHADER_FX_EDIT 2077
#define IDC_SHADER_FX_CONF_EDIT 2078
#define IDC_SHADER_FX_BUTTON 2079
#define IDC_SHADER_FX_CONF_BUTTON 2080
#define IDC_SHADER_FX_TEXT 2081
#define IDC_SHADER_FX_CONF_TEXT 2082
#define IDC_CUSTOM_TEXT 2083
#define IDC_UPSCALE_MULTIPLIER_TEXT 2084
#define IDC_MIPMAP 2085
#define IDC_PRELOAD_GS 2086
#define IDC_TVSHADER 2087
#define IDC_SAFE_FBMASK 2088
#define IDR_CONVERT_FX 10000
#define IDR_TFX_FX 10001
#define IDR_MERGE_FX 10002
@ -108,7 +109,7 @@
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 10013
#define _APS_NEXT_COMMAND_VALUE 32771
#define _APS_NEXT_CONTROL_VALUE 2088
#define _APS_NEXT_CONTROL_VALUE 2091
#define _APS_NEXT_SYMED_VALUE 5000
#endif
#endif