feat(gx): remove placeholder gx caps (#45)

This commit is contained in:
fallenoak 2023-03-09 22:29:33 -06:00 committed by GitHub
parent 0e0b57fce9
commit 907c3faf8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 57 additions and 61 deletions

View file

@ -97,7 +97,7 @@ void CSimpleRender::DrawBatch(CRenderBatch* batch) {
if (mesh->color) {
auto& color = mesh->color[i * mesh->colorCount >> 2];
if (GxCaps()->m_colorFormat == GxCF_rgba) {
if (GxCaps().m_colorFormat == GxCF_rgba) {
vertexBuf->c.r = color.b;
vertexBuf->c.g = color.g;
vertexBuf->c.b = color.r;