Fix 4 warnings on OSX

This commit is contained in:
Ryan Houdek 2012-12-30 04:32:37 -06:00
parent ff3b22e1ff
commit 64afbade33
2 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@ bool cInterfaceWX::Create(void *&window_handle)
GLWin.glCanvas->Show(true); GLWin.glCanvas->Show(true);
if (GLWin.glCtxt == NULL) // XXX dirty hack if (GLWin.glCtxt == NULL) // XXX dirty hack
GLWin.glCtxt = new wxGLContext(GLWin.glCanvas); GLWin.glCtxt = new wxGLContext(GLWin.glCanvas);
return true;
} }
bool cInterfaceWX::MakeCurrent() bool cInterfaceWX::MakeCurrent()

View File

@ -355,7 +355,7 @@ namespace EfbInterface
dstClr = (~srcClr) & dstClr; dstClr = (~srcClr) & dstClr;
break; break;
case 5: // noop case 5: // noop
dstClr = dstClr; // Do nothing
break; break;
case 6: // xor case 6: // xor
dstClr = srcClr ^ dstClr; dstClr = srcClr ^ dstClr;