diff --git a/src/core/gpu_hw.h b/src/core/gpu_hw.h index 212ecbfa8..0e739bed2 100644 --- a/src/core/gpu_hw.h +++ b/src/core/gpu_hw.h @@ -91,8 +91,8 @@ protected: static constexpr std::tuple RGBA8ToFloat(u32 rgba) { return std::make_tuple(static_cast(rgba & UINT32_C(0xFF)) * (1.0f / 255.0f), - static_cast((rgba >> 16) & UINT32_C(0xFF)) * (1.0f / 255.0f), static_cast((rgba >> 8) & UINT32_C(0xFF)) * (1.0f / 255.0f), + static_cast((rgba >> 16) & UINT32_C(0xFF)) * (1.0f / 255.0f), static_cast(rgba >> 24) * (1.0f / 255.0f)); }