mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
Y2R: Fix narrowing warning
This commit is contained in:
parent
f4e1d8ea36
commit
1f125a04c3
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ static void SendData(const u32* input, ConversionBuffer& buf, int amount_of_data
|
||||||
while (output < unit_end) {
|
while (output < unit_end) {
|
||||||
u32 color = *input++;
|
u32 color = *input++;
|
||||||
Math::Vec4<u8> col_vec{
|
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) {
|
switch (output_format) {
|
||||||
|
|
Loading…
Reference in a new issue