mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
VertexLoader: never reset alpha in 8888 colors
Fixes the opening menu of Xenoblade Chronicles.
This commit is contained in:
parent
80617ec6bd
commit
46ab5d63d6
5 changed files with 5 additions and 19 deletions
|
@ -83,9 +83,6 @@ VertexLoader::VertexLoader(const TVtxDesc &vtx_desc, const VAT &vtx_attr)
|
|||
m_posScale = 1.0f / (1U << m_VtxAttr.PosFrac);
|
||||
for (int i = 0; i < 8; i++)
|
||||
m_tcScale[i] = 1.0f / (1U << m_VtxAttr.texCoord[i].Frac);
|
||||
|
||||
for (int i = 0; i < 2; i++)
|
||||
m_colElements[i] = m_VtxAttr.color[i].Elements;
|
||||
}
|
||||
|
||||
void VertexLoader::CompileVertexTranslator()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue