mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-25 17:19:42 +00:00
Merge pull request #5650 from raven02/patch-29
Avoid caching when HW T&L with morph enabled.
This commit is contained in:
commit
bbacfdd899
@ -539,6 +539,10 @@ void TransformDrawEngine::DoFlush() {
|
||||
if (g_Config.bSoftwareSkinning && (lastVType_ & GE_VTYPE_WEIGHT_MASK))
|
||||
useCache = false;
|
||||
|
||||
// Also avoid caching when HW T&L with morph enabled.
|
||||
if (g_Config.bHardwareTransform && !(lastVType_ & GE_VTYPE_MORPHCOUNT_MASK))
|
||||
useCache = false;
|
||||
|
||||
if (useCache) {
|
||||
u32 id = ComputeFastDCID();
|
||||
auto iter = vai_.find(id);
|
||||
|
Loading…
Reference in New Issue
Block a user