diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-03-30 13:24:08 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-03-30 13:24:08 +0200 |
| commit | 9b031786730594dd2c12ef0385fa22b76f172e2d (patch) | |
| tree | 9605808f45393c2da7eb1bc9fecf361f7bd20e46 /Source/Core/VideoCommon/BPFunctions.cpp | |
| parent | b31d1fd3135d02b519adc5d48883eeb9b44be8e8 (diff) | |
| parent | 92dd498fa70ea953a62731dfbeb08f89a76bc49a (diff) | |
Merge pull request #222 from comex/more-clang-fixes
More clang fixes
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 |
