diff --git a/GPU/Software/FuncId.cpp b/GPU/Software/FuncId.cpp index 08a987b178..fb62e418be 100644 --- a/GPU/Software/FuncId.cpp +++ b/GPU/Software/FuncId.cpp @@ -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) {