diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2019-12-31 15:19:17 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2019-12-31 15:19:48 -0500 |
commit | baa8533413903950c95ae6728e35748eb10cbf33 (patch) | |
tree | ea45293f25ed10c72e664683171a7d864d446bd6 /src/osd | |
parent | 30c3511b79f007a4ea3f4dd762461f7af8bfbce2 (diff) |
render/bgfx: Fix incorrect swapping of red and blue components of screen tint
Diffstat (limited to 'src/osd')
-rw-r--r-- | src/osd/modules/render/bgfx/chainentry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/render/bgfx/chainentry.cpp b/src/osd/modules/render/bgfx/chainentry.cpp index 8f8eedc1214..29150696590 100644 --- a/src/osd/modules/render/bgfx/chainentry.cpp +++ b/src/osd/modules/render/bgfx/chainentry.cpp @@ -77,7 +77,7 @@ void bgfx_chain_entry::submit(int view, chain_manager::screen_prim &prim, textur const uint8_t r = (uint8_t)std::round(prim.m_prim->color.r * 255); const uint8_t g = (uint8_t)std::round(prim.m_prim->color.g * 255); const uint8_t b = (uint8_t)std::round(prim.m_prim->color.b * 255); - tint = (a << 24) | (r << 16) | (g << 8) | b; + tint = (a << 24) | (b << 16) | (g << 8) | r; } bgfx::TransientVertexBuffer buffer; |