From 2f1e6f81bb527fba251926cadb6a2eb3ffcb0100 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Tue, 6 Aug 2013 11:24:48 +0200 Subject: [PATCH] Android buildfix --- Core/MIPS/ARM/ArmCompVFPU.cpp | 2 -- GPU/GLES/StateMapping.cpp | 4 ++++ native | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Core/MIPS/ARM/ArmCompVFPU.cpp b/Core/MIPS/ARM/ArmCompVFPU.cpp index 5343b38b59..1b9a46923a 100644 --- a/Core/MIPS/ARM/ArmCompVFPU.cpp +++ b/Core/MIPS/ARM/ArmCompVFPU.cpp @@ -1146,8 +1146,6 @@ namespace MIPSComp } void Jit::Comp_VCrossQuat(u32 op) { - DISABLE; - // This op does not support prefixes. if (js.HasUnknownPrefix() || disablePrefixes) DISABLE; diff --git a/GPU/GLES/StateMapping.cpp b/GPU/GLES/StateMapping.cpp index 97ff84290f..ac7916fb69 100644 --- a/GPU/GLES/StateMapping.cpp +++ b/GPU/GLES/StateMapping.cpp @@ -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()) { diff --git a/native b/native index f00bfc5464..d83c2ab941 160000 --- a/native +++ b/native @@ -1 +1 @@ -Subproject commit f00bfc546401e93803f1b41ba64804247b8ac6c7 +Subproject commit d83c2ab94182e41ab1590057b287b72432528550