mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
Android buildfix
This commit is contained in:
1 parent
2f0cdc6988
commit
2f1e6f81bb
3 files changed
+5
-3
No files matched your search
@@ -1146,8 +1146,6 @@ namespace MIPSComp
|
||||
}
|
||||
|
||||
void Jit::Comp_VCrossQuat(u32 op) {
|
||||
DISABLE;
|
||||
|
||||
// This op does not support prefixes.
|
||||
if (js.HasUnknownPrefix() || disablePrefixes)
|
||||
DISABLE;
|
||||
|
||||
@@ -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.
Reference in new issue
Block a user