Android buildfix

This commit is contained in:
Henrik Rydgard committed 2013-08-06 11:24:48 +02:00
1 parent 2f0cdc6988
commit 2f1e6f81bb
3 files changed
+5 -3

No files matched your search

-2
View File
@@ -1146,8 +1146,6 @@ namespace MIPSComp
}
void Jit::Comp_VCrossQuat(u32 op) {
DISABLE;
// This op does not support prefixes.
if (js.HasUnknownPrefix() || disablePrefixes)
DISABLE;
+4
View File
@@ -92,6 +92,7 @@ static const GLushort stencilOps[] = {
GL_KEEP, // reserved
};
#if !defined(USING_GLES2)
static const GLushort logicOps[] = {
GL_CLEAR,
GL_AND,
@@ -110,6 +111,7 @@ static const GLushort logicOps[] = {
GL_NAND,
GL_SET,
};
#endif
static GLenum blendColor2Func(u32 fix) {
if (fix == 0xFFFFFF)
@@ -219,10 +221,12 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
glstate.blendEquation.set(eqLookup[blendFuncEq]);
}
#if !defined(USING_GLES2)
bool wantLogicOps = !gstate.isModeClear() && gstate.isLogicOpEnabled();
glstate.colorLogicOp.set(wantLogicOps);
if(wantLogicOps)
glstate.logicOp.set(logicOps[gstate.getLogicOp()]);
#endif
// Set Dither
if (gstate.isDitherEnabled()) {
+1 -1
Submodule native updated: f00bfc5464...d83c2ab941.