From 5cb916e9d14d0c7287f7e8e679719c359916e2a2 Mon Sep 17 00:00:00 2001 From: Sonicadvance1 Date: Mon, 12 Apr 2010 02:35:59 +0000 Subject: [PATCH] Fixes wxGL, so it draws correctly in OSX, so Draw to Main works if enabled in OSX. Disabled, it creates a window but with no titlebar git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5341 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp b/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp index dc7941ae98..f52cf45b8c 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp @@ -320,7 +320,7 @@ bool OpenGL_Create(SVideoInitialize &_VideoInitialize, int _iwidth, int _iheight #if defined(USE_WX) && USE_WX int args[] = {WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE, 16, 0}; - wxSize size(_iwidth, _iheight); + wxSize size(_twidth, _theight); GLWin.panel = (wxPanel *)g_VideoInitialize.pWindowHandle;