mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-08 23:59:53 +03:00
feat(gx): remove placeholder gx caps (#45)
This commit is contained in:
1 parent
0e0b57fce9
commit
907c3faf8f
14 files changed
+57
-61
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user