diff options
Diffstat (limited to 'Source/Core/VideoCommon/BPFunctions.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BPFunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/BPFunctions.cpp b/Source/Core/VideoCommon/BPFunctions.cpp index 58362f1a57..9bc9b4d3dd 100644 --- a/Source/Core/VideoCommon/BPFunctions.cpp +++ b/Source/Core/VideoCommon/BPFunctions.cpp @@ -161,7 +161,7 @@ void OnPixelFormatChange() auto new_format = bpmem.zcontrol.pixel_format; // no need to reinterpret pixel data in these cases - if (new_format == old_format || old_format == (unsigned int)-1) + if (new_format == old_format || old_format == PEControl::INVALID_FMT) goto skip; // Check for pixel format changes |
