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
This commit is contained in:
parent
22551a0a8a
commit
5cb916e9d1
|
@ -320,7 +320,7 @@ bool OpenGL_Create(SVideoInitialize &_VideoInitialize, int _iwidth, int _iheight
|
||||||
#if defined(USE_WX) && USE_WX
|
#if defined(USE_WX) && USE_WX
|
||||||
int args[] = {WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE, 16, 0};
|
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;
|
GLWin.panel = (wxPanel *)g_VideoInitialize.pWindowHandle;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue