mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 08:39:51 +00:00
Ridge Racer hack: Flush after every prim if fb addr == tex addr.
Fixes the bloom errors. @unknownbrackets discovered this method. Not sure if I want to merge this.. It does add yet another check to a critical path.
This commit is contained in:
parent
b2ae317560
commit
8b60fe0239
@ -331,6 +331,11 @@ void TransformDrawEngine::SubmitPrim(void *verts, void *inds, GEPrimitiveType pr
|
||||
DecodeVertsStep();
|
||||
decodeCounter_++;
|
||||
}
|
||||
|
||||
if (prim == GE_PRIM_RECTANGLES && (gstate.getTextureAddress(0) & 0x3FFFFFFF) == (gstate.getFrameBufAddress() & 0x3FFFFFFF)) {
|
||||
gstate_c.textureChanged |= TEXCHANGE_PARAMSONLY;
|
||||
Flush();
|
||||
}
|
||||
}
|
||||
|
||||
void TransformDrawEngine::DecodeVerts() {
|
||||
|
Loading…
Reference in New Issue
Block a user