mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
osx compile fixes + wx latest non working try
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1501 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -217,12 +217,13 @@ bool OpenGL_Create(SVideoInitialize &_VideoInitialize, int _iwidth, int _iheight
|
||||
wxPoint(50,50), size);
|
||||
GLWin.glCanvas = new wxGLCanvas(GLWin.frame, wxID_ANY, attrib,
|
||||
wxPoint(0,0), size, wxSUNKEN_BORDER);
|
||||
GLWin.glCtxt = new wxGLContext(GLWin.glCanvas);
|
||||
|
||||
GLWin.frame->Show(TRUE);
|
||||
GLWin.glCanvas->Show(TRUE);
|
||||
|
||||
GLWin.glCtxt = new wxGLContext(GLWin.glCanvas);
|
||||
// GLWin.glCanvas->SetCurrent(*GLWin.glCtxt);
|
||||
GLWin.glCtxt->SetCurrent(*GLWin.glCanvas);
|
||||
GLWin.glCanvas->SetCurrent(*GLWin.glCtxt);
|
||||
// GLWin.glCtxt->SetCurrent(*GLWin.glCanvas);
|
||||
#elif defined(_WIN32)
|
||||
// create the window
|
||||
if (!g_Config.renderToMainframe || g_VideoInitialize.pWindowHandle == NULL)
|
||||
|
@ -96,7 +96,8 @@ conf.Define('HAVE_XXF86VM', gfxenv['HAVE_XXF86VM'])
|
||||
conf.Finish()
|
||||
|
||||
# change to True if you want to compile with SDL
|
||||
useSDL = not (gfxenv['HAVE_X11'] and gfxenv['HAVE_XXF86VM'])
|
||||
useSDL = not ((gfxenv['HAVE_X11'] and gfxenv['HAVE_XXF86VM'])
|
||||
or gfxenv['HAVE_COCOA'])
|
||||
|
||||
|
||||
if useSDL and not gfxenv['HAVE_SDL']:
|
||||
|
Reference in New Issue
Block a user