mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-12 20:40:49 +00:00
Android buildfix
This commit is contained in:
parent
2f0cdc6988
commit
2f1e6f81bb
@ -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()) {
|
||||
|
2
native
2
native
@ -1 +1 @@
|
||||
Subproject commit f00bfc546401e93803f1b41ba64804247b8ac6c7
|
||||
Subproject commit d83c2ab94182e41ab1590057b287b72432528550
|
Loading…
x
Reference in New Issue
Block a user