mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-15 22:17:02 +00:00
CMaterialList: Fix BitPosition with matching implementation
CAuiImagePane: Fix animated scans... again
This commit is contained in:
@@ -103,13 +103,13 @@ void CAuiImagePane::DoDrawImagePane(const zeus::CColor& color, CTexture& tex, in
|
||||
float rgba2 = 1.f - rgba1;
|
||||
tex.LoadMipLevel(mip1, GX::TexMapID::TEXMAP0, EClampMode::Repeat);
|
||||
tex.LoadMipLevel(mip2, GX::TexMapID::TEXMAP1, EClampMode::Repeat);
|
||||
const GX::VtxDescList list[3]{
|
||||
std::array<GX::VtxDescList, 3> list{{
|
||||
{GX::VA_POS, GX::DIRECT},
|
||||
{GX::VA_TEX0, GX::DIRECT},
|
||||
{GX::VA_NULL, GX::NONE},
|
||||
};
|
||||
GX::VtxDescList{},
|
||||
}};
|
||||
|
||||
CGX::SetVtxDescv(reinterpret_cast<const GX::VtxDescList*>(&list));
|
||||
CGX::SetVtxDescv(list.data());
|
||||
CGX::SetNumChans(0);
|
||||
CGX::SetNumTexGens(2);
|
||||
CGX::SetNumTevStages(2);
|
||||
|
||||
Reference in New Issue
Block a user