2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 12:27:43 +00:00

Rendering tweaks/bug-fixes

This commit is contained in:
Jack Andersen
2015-12-17 17:26:10 -10:00
parent cb205304b6
commit e8449f3fdb
11 changed files with 44 additions and 28 deletions

View File

@@ -338,10 +338,8 @@ void ModalWindow::draw(boo::IGraphicsCommandQueue* gfxQ)
{
gfxQ->setShaderDataBinding(m_vertsShaderBinding);
gfxQ->setDrawPrimitive(boo::Primitive::TriStrips);
if (m_frame > WIRE_START)
gfxQ->draw(0, 22);
if (m_frame > SOLID_START)
gfxQ->draw(22, 16);
gfxQ->draw(0, 22);
gfxQ->draw(22, 16);
m_cornersFilled[0]->draw(gfxQ);
m_cornersFilled[1]->draw(gfxQ);