summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL
diff options
context:
space:
mode:
authorj4ck.fr0st <j4ck.fr0st@gmail.com>2010-02-14 16:33:53 +0000
committerj4ck.fr0st <j4ck.fr0st@gmail.com>2010-02-14 16:33:53 +0000
commitcd321feb837559e7e194ecec7cfb2f879fe32d0c (patch)
tree928e81766cb7b8949012a3d771f0ed75c3b8febb /Source/Plugins/Plugin_VideoOGL
parentdc7029e7f40b58e57fdb0de20ea48b94df8f2282 (diff)
attempt to fix the main window closing from r5056. i'm not sure how this affects window deletion tho.
apply eol-style native to GCPad, pretty annoying to break patches and stuff git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5059 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/main.cpp b/Source/Plugins/Plugin_VideoOGL/Src/main.cpp
index 5bccf7b6f3..da831002d3 100644
--- a/Source/Plugins/Plugin_VideoOGL/Src/main.cpp
+++ b/Source/Plugins/Plugin_VideoOGL/Src/main.cpp
@@ -315,6 +315,7 @@ void DllConfig(HWND _hParent)
allowConfigShow = m_ConfigFrame->ShowModal() == 1 ? true : false;
delete m_ConfigFrame;
+ frame->SetHWND(NULL);
delete frame;
m_ConfigFrame = 0;
}