mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-06 19:22:39 +00:00
code beautification and the like for OGL config gui
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@132 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
1a504ff031
commit
8ff50f3155
3 changed files with 108 additions and 77 deletions
|
@ -65,14 +65,14 @@ void DllConfig(HWND _hParent)
|
|||
{
|
||||
#ifdef _WIN32
|
||||
wxWindow win;
|
||||
win.SetHWND((WXHWND)_hParent);
|
||||
win.Enable(false);
|
||||
win.SetHWND(_hParent);
|
||||
|
||||
//TODO get available resolutions
|
||||
|
||||
ConfigDialog frame(&win);
|
||||
frame.ShowModal();
|
||||
|
||||
win.Enable(true);
|
||||
win.SetHWND(0);
|
||||
win.SetHWND(0);
|
||||
|
||||
#else
|
||||
ConfigDialog frame(NULL);
|
||||
|
@ -156,7 +156,7 @@ void Video_Prepare(void)
|
|||
PixelShaderMngr::Init();
|
||||
GL_REPORT_ERRORD();
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Video_Shutdown(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue