diff options
author | archshift <gh@archshift.com> | 2015-07-14 07:07:39 +0200 |
---|---|---|
committer | archshift <gh@archshift.com> | 2015-07-14 07:07:39 +0200 |
commit | 2501f111a6a6ab1a660791061abe5b26b71e1be7 (patch) | |
tree | 286a4616f6a4a344e963517f0c4968af9b0a453b | |
parent | Fix uploading of builds by adding exec bit to .travis-upload.sh (diff) | |
parent | Y2R: Fix narrowing warning (diff) | |
download | yuzu-2501f111a6a6ab1a660791061abe5b26b71e1be7.tar yuzu-2501f111a6a6ab1a660791061abe5b26b71e1be7.tar.gz yuzu-2501f111a6a6ab1a660791061abe5b26b71e1be7.tar.bz2 yuzu-2501f111a6a6ab1a660791061abe5b26b71e1be7.tar.lz yuzu-2501f111a6a6ab1a660791061abe5b26b71e1be7.tar.xz yuzu-2501f111a6a6ab1a660791061abe5b26b71e1be7.tar.zst yuzu-2501f111a6a6ab1a660791061abe5b26b71e1be7.zip |
-rw-r--r-- | src/core/hw/y2r.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hw/y2r.cpp b/src/core/hw/y2r.cpp index b40f13cae..f80e26ecd 100644 --- a/src/core/hw/y2r.cpp +++ b/src/core/hw/y2r.cpp @@ -111,7 +111,7 @@ static void SendData(const u32* input, ConversionBuffer& buf, int amount_of_data while (output < unit_end) { u32 color = *input++; Math::Vec4<u8> col_vec{ - (color >> 24) & 0xFF, (color >> 16) & 0xFF, (color >> 8) & 0xFF, alpha, + (u8)(color >> 24), (u8)(color >> 16), (u8)(color >> 8), alpha }; switch (output_format) { |