Fix 4 warnings on OSX
This commit is contained in:
parent
ff3b22e1ff
commit
64afbade33
|
@ -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()
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue