diff --git a/programs/winecfg/Bg.rc b/programs/winecfg/Bg.rc index 302bec5..8cdf341 100644 --- a/programs/winecfg/Bg.rc +++ b/programs/winecfg/Bg.rc @@ -84,12 +84,14 @@ BEGIN EDITTEXT IDC_DESKTOP_WIDTH,64,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,50 + GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,60 LTEXT " Vertex Shader: ",IDC_STATIC,15,220,105,30 COMBOBOX IDC_D3D_VSHADER_MODE,115,218,125,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL " Pixel Shader ( )",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,237,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,232,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,232,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/Cs.rc b/programs/winecfg/Cs.rc index 5bba698..4c82063 100644 --- a/programs/winecfg/Cs.rc +++ b/programs/winecfg/Cs.rc @@ -88,6 +88,8 @@ BEGIN COMBOBOX IDC_D3D_VSHADER_MODE,105,197,140,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Povolit stnovn pixel (spolh se na hardware podporu)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10 + LTEXT "Velikost videopamti (v megabytech):",IDC_STATIC,15,232,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,135,232,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/De.rc b/programs/winecfg/De.rc index 8c77b2b..8c8f78e 100644 --- a/programs/winecfg/De.rc +++ b/programs/winecfg/De.rc @@ -78,12 +78,14 @@ BEGIN LTEXT "X",IDC_DESKTOP_BY,114,167,8,8,WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,123,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,38 + GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,60 LTEXT "Untersttzung fr Vertex Shader: ",IDC_STATIC,15,199,120,8 COMBOBOX IDC_D3D_VSHADER_MODE,140,197,105,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Pixel Shader aktivieren (wenn von Hardware untersttzt)", IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,212,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,232,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,232,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/En.rc b/programs/winecfg/En.rc index 02d4850..eec9e11 100644 --- a/programs/winecfg/En.rc +++ b/programs/winecfg/En.rc @@ -79,12 +79,14 @@ BEGIN EDITTEXT IDC_DESKTOP_WIDTH,64,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,50 + GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,60 LTEXT "Vertex Shader Support: ",IDC_STATIC,15,199,80,30 COMBOBOX IDC_D3D_VSHADER_MODE,100,197,145,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Allow Pixel Shader (if supported by hardware)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,232,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,232,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/Es.rc b/programs/winecfg/Es.rc index 34993c2..6fb8293 100644 --- a/programs/winecfg/Es.rc +++ b/programs/winecfg/Es.rc @@ -78,12 +78,14 @@ BEGIN EDITTEXT IDC_DESKTOP_WIDTH,64,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,50 + GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,60 LTEXT "Soporte Vertex Shader: ",IDC_STATIC,15,220,80,30 COMBOBOX IDC_D3D_VSHADER_MODE,100,218,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Permitir Pixel Shader (si hay soporte por hardware)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,237,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,250,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,250,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/Fi.rc b/programs/winecfg/Fi.rc index 16da0ca..5e541f8 100644 --- a/programs/winecfg/Fi.rc +++ b/programs/winecfg/Fi.rc @@ -78,12 +78,14 @@ BEGIN EDITTEXT IDC_DESKTOP_WIDTH,64,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,50 + GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,60 LTEXT "Vertex Shader -tuki: ",IDC_STATIC,15,220,80,30 COMBOBOX IDC_D3D_VSHADER_MODE,100,218,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Salli &Pixel Shader:n kytt laitteiston tukiessa",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,237,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,250,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,250,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/Fr.rc b/programs/winecfg/Fr.rc index 007ca53..3a477e4 100644 --- a/programs/winecfg/Fr.rc +++ b/programs/winecfg/Fr.rc @@ -78,12 +78,14 @@ BEGIN EDITTEXT IDC_DESKTOP_WIDTH,84,123,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,137,123,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,50 + GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,60 LTEXT "Support du Vertex Shader : ",IDC_STATIC,15,200,100,30 COMBOBOX IDC_D3D_VSHADER_MODE,110,198,100,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Permettre le Pixel Shader (si support par le matriel)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,215,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,232,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,232,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/Hu.rc b/programs/winecfg/Hu.rc index 20e5286..28bae53 100644 --- a/programs/winecfg/Hu.rc +++ b/programs/winecfg/Hu.rc @@ -78,12 +78,14 @@ BEGIN EDITTEXT IDC_DESKTOP_WIDTH,64,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,50 + GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,60 LTEXT "Vertex Shader tmogats: ",IDC_STATIC,15,220,80,30 COMBOBOX IDC_D3D_VSHADER_MODE,100,218,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Pixel Shader engedlyezse (ha tmogatja a hardver)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,237,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,250,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,250,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/Ja.rc b/programs/winecfg/Ja.rc index 4b0285f..eaa97f4 100644 --- a/programs/winecfg/Ja.rc +++ b/programs/winecfg/Ja.rc @@ -77,12 +77,14 @@ BEGIN EDITTEXT IDC_DESKTOP_WIDTH,74,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,127,115,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " Direct3D ",IDC_STATIC,8,140,244,120 + GROUPBOX " Direct3D ",IDC_STATIC,8,140,244,150 LTEXT "Vertex Shader T|[g: ",IDC_STATIC,15,150,80,30 COMBOBOX IDC_D3D_VSHADER_MODE,100,148,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Pixel Shader Lɂ(n[hEFAŃT|[gĂꍇ̂)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,165,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,232,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,232,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/Ko.rc b/programs/winecfg/Ko.rc index fe20fc4..c7420dd 100644 --- a/programs/winecfg/Ko.rc +++ b/programs/winecfg/Ko.rc @@ -80,12 +80,14 @@ BEGIN EDITTEXT IDC_DESKTOP_WIDTH,64,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " ̷Ʈ 3D ",IDC_STATIC,8,189,244,50 + GROUPBOX " ̷Ʈ 3D ",IDC_STATIC,8,189,244,60 LTEXT "ؽ ̴ : ",IDC_STATIC,15,199,80,30 COMBOBOX IDC_D3D_VSHADER_MODE,100,197,146,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "ȼ ̴ (ϵ Ѵٸ)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,232,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,232,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/Nl.rc b/programs/winecfg/Nl.rc index 92e112e..4f67feb 100644 --- a/programs/winecfg/Nl.rc +++ b/programs/winecfg/Nl.rc @@ -79,12 +79,14 @@ BEGIN LTEXT "X",IDC_DESKTOP_BY,133,168,8,8,WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,142,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,50 + GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,60 LTEXT "Vertex Shader ondersteuning: ",IDC_STATIC,15,199,100,30 COMBOBOX IDC_D3D_VSHADER_MODE,120,197,130,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Pixel Shader toestaan (indien ondersteund door de hardware)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,232,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,232,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/No.rc b/programs/winecfg/No.rc index f76a47c..ca6f678 100644 --- a/programs/winecfg/No.rc +++ b/programs/winecfg/No.rc @@ -77,12 +77,14 @@ BEGIN EDITTEXT IDC_DESKTOP_WIDTH,64,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,50 + GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,60 LTEXT "Verteks-skyggelegging: ",IDC_STATIC,15,220,80,30 COMBOBOX IDC_D3D_VSHADER_MODE,100,218,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Tillat piksel-skyggelegger (hvis maskinvaren sttter det)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,237,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,250,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,250,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/Ro.rc b/programs/winecfg/Ro.rc index 3b62984..4597363 100644 --- a/programs/winecfg/Ro.rc +++ b/programs/winecfg/Ro.rc @@ -79,12 +79,14 @@ BEGIN EDITTEXT IDC_DESKTOP_WIDTH,64,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,50 + GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,60 LTEXT "Suport pentru vertex shader: ",IDC_STATIC,15,199,80,30 COMBOBOX IDC_D3D_VSHADER_MODE,100,197,145,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Allow Pixel Shader (if supported by hardware)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,232,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,232,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/Ru.rc b/programs/winecfg/Ru.rc index 1872a3d..59275a6 100644 --- a/programs/winecfg/Ru.rc +++ b/programs/winecfg/Ru.rc @@ -79,12 +79,14 @@ BEGIN EDITTEXT IDC_DESKTOP_WIDTH,64,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,167,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,55 + GROUPBOX " Direct3D ",IDC_STATIC,8,189,244,70 LTEXT " : ",IDC_STATIC,15,199,120,30 COMBOBOX IDC_D3D_VSHADER_MODE,120,197,125,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL " Pixel Shader ( )",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,216,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,232,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,232,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/Tr.rc b/programs/winecfg/Tr.rc index 13404c7..bb0ef76 100644 --- a/programs/winecfg/Tr.rc +++ b/programs/winecfg/Tr.rc @@ -77,12 +77,14 @@ BEGIN EDITTEXT IDC_DESKTOP_WIDTH,64,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED EDITTEXT IDC_DESKTOP_HEIGHT,117,188,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED - GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,50 + GROUPBOX " Direct3D ",IDC_STATIC,8,210,244,60 LTEXT "Vertex Shader Destei: ",IDC_STATIC,15,220,80,30 COMBOBOX IDC_D3D_VSHADER_MODE,100,218,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Pixel Shader'a izin ver (donanm destekliyorsa)",IDC_D3D_PSHADER_MODE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,237,230,10 + LTEXT "Video Memory Size (in megabytes):",IDC_STATIC,15,249,120,12 + EDITTEXT IDC_VIDEOMEMORY_SIZE,130,249,40,12,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED END IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250 diff --git a/programs/winecfg/resource.h b/programs/winecfg/resource.h index 811a115..c7bdcb0 100644 --- a/programs/winecfg/resource.h +++ b/programs/winecfg/resource.h @@ -65,6 +65,7 @@ #define IDC_DESKTOP_BY 1026 #define IDC_XDGA 1027 #define IDC_XSHM 1028 +#define IDC_VIDEOMEMORY_SIZE 1081 /* dll editing */ #define IDC_RAD_BUILTIN 1029 diff --git a/programs/winecfg/x11drvdlg.c b/programs/winecfg/x11drvdlg.c index 8fa183e..f460945 100644 --- a/programs/winecfg/x11drvdlg.c +++ b/programs/winecfg/x11drvdlg.c @@ -114,12 +114,32 @@ static void update_gui_for_desktop_mode(HWND dialog) { updating_ui = FALSE; } +static void update_gui_for_videomem_size(HWND dialog) { + WINE_TRACE("\n"); + updating_ui = TRUE; + + if (reg_key_exists(config_key, keypath("Direct3D"), "VideoMemorySize")) + { + char* buf; + + buf = get_reg_key(config_key, keypath("Direct3D"), "VideoMemorySize", "128"); + SetWindowText(GetDlgItem(dialog, IDC_VIDEOMEMORY_SIZE), buf); + HeapFree(GetProcessHeap(), 0, buf); + } else { + SetWindowText(GetDlgItem(dialog, IDC_VIDEOMEMORY_SIZE), ""); + } + enable(IDC_VIDEOMEMORY_SIZE); + + updating_ui = FALSE; +} + static void init_dialog(HWND dialog) { unsigned int it; char* buf; update_gui_for_desktop_mode(dialog); + update_gui_for_videomem_size(dialog); updating_ui = TRUE; @@ -208,6 +228,25 @@ static void on_enable_desktop_clicked(HWND dialog) { update_gui_for_desktop_mode(dialog); } +static void set_from_videomemory_size_edits(HWND dialog) { + char *memsize; + + if (updating_ui) return; + + WINE_TRACE("\n"); + + memsize = get_text(dialog, IDC_VIDEOMEMORY_SIZE); + + if (memsize == NULL || strcmp(memsize, "") == 0) { + HeapFree(GetProcessHeap(), 0, memsize); + memsize = strdupA("64"); + } + + set_reg_key(config_key, keypath("Direct3D"), "VideoMemorysize", memsize); + + HeapFree(GetProcessHeap(), 0, memsize); +} + static void on_enable_managed_clicked(HWND dialog) { WINE_TRACE("\n"); @@ -256,6 +295,7 @@ GraphDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) SendMessage(GetParent(hDlg), PSM_CHANGED, 0, 0); if ( ((LOWORD(wParam) == IDC_DESKTOP_WIDTH) || (LOWORD(wParam) == IDC_DESKTOP_HEIGHT)) && !updating_ui ) set_from_desktop_edits(hDlg); + set_from_videomemory_size_edits(hDlg); break; } case BN_CLICKED: {