mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(gx): remove placeholder gx caps (#45)
This commit is contained in:
parent
0e0b57fce9
commit
907c3faf8f
14 changed files with 57 additions and 61 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue