mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
softjit: Fix disabled cache.
This commit is contained in:
1 parent
1cb48a7bd2
commit
6fbcf67093
1 file changed
+2
@@ -99,6 +99,7 @@ void ComputePixelFuncID(PixelFuncID *id) {
|
||||
id->applyFog = gstate.isFogEnabled() && !gstate.isModeThrough();
|
||||
}
|
||||
|
||||
#ifdef SOFTPIXEL_USE_CACHE
|
||||
// Cache some values for later convenience.
|
||||
if (id->dithering) {
|
||||
for (int y = 0; y < 4; ++y) {
|
||||
@@ -130,6 +131,7 @@ void ComputePixelFuncID(PixelFuncID *id) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
std::string DescribePixelFuncID(const PixelFuncID &id) {
|
||||
|
||||
Reference in new issue
Block a user