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:
Shawn Hoffman 2008-08-05 08:49:27 +00:00
parent 1a504ff031
commit 8ff50f3155
3 changed files with 108 additions and 77 deletions

View file

@ -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)
{