summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/chainentry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/render/bgfx/chainentry.cpp')
-rw-r--r--src/osd/modules/render/bgfx/chainentry.cpp2
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;