diff options
| author | Scott Mansell <phiren@gmail.com> | 2021-09-15 11:54:40 +1200 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2021-09-15 11:54:40 +1200 |
| commit | eb8bfabdfda83dd2cbacfa5c2bc89a5254e587b3 (patch) | |
| tree | e11daa04efb91a900b78a2af7bcbb48c59bb301c /Source/Core/VideoCommon/BPStructs.cpp | |
| parent | 37b80e21707fe9288d3a5f47fe0ab0a9454b744b (diff) | |
BPStructs: make copy width/height const
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BPStructs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index b00315f9da..57a418e8d0 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -249,8 +249,8 @@ static void BPWritten(const BPCmd& bp) srcRect.bottom = std::clamp<int>(srcRect.bottom, 0, EFB_HEIGHT); } - u32 copy_width = srcRect.GetWidth(); - u32 copy_height = srcRect.GetHeight(); + const u32 copy_width = srcRect.GetWidth(); + const u32 copy_height = srcRect.GetHeight(); // Check if we are to copy from the EFB or draw to the XFB const UPE_Copy PE_copy = bpmem.triggerEFBCopy; |
