mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-13 04:21:39 +00:00
More work on making dialogs close when escape is pressed, and some general GUI code clean up.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7360 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
2692ba2697
commit
bca4f94b47
16 changed files with 305 additions and 420 deletions
|
@ -144,9 +144,8 @@ void VideoBackend::ShowConfig(void *_hParent)
|
|||
// Clear ppshaders string vector
|
||||
g_Config.backend_info.PPShaders.clear();
|
||||
|
||||
VideoConfigDiag *const diag = new VideoConfigDiag((wxWindow*)_hParent, _trans("Direct3D11"), "gfx_dx11");
|
||||
diag->ShowModal();
|
||||
diag->Destroy();
|
||||
VideoConfigDiag diag((wxWindow*)_hParent, _trans("Direct3D11"), "gfx_dx11");
|
||||
diag.ShowModal();
|
||||
|
||||
g_Config.backend_info.Adapters.clear();
|
||||
DX11::D3D::UnloadDXGI();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue