mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 18:27:42 +00:00
OS X fixes
This commit is contained in:
@@ -437,7 +437,8 @@ void TextView::draw(boo::IGraphicsCommandQueue* gfxQ)
|
||||
}
|
||||
gfxQ->setShaderDataBinding(m_shaderBinding);
|
||||
gfxQ->setDrawPrimitive(boo::Primitive::TriStrips);
|
||||
gfxQ->drawInstances(0, 4, m_glyphs.size());
|
||||
if (m_glyphs.size())
|
||||
gfxQ->drawInstances(0, 4, m_glyphs.size());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user