Removed s_primNumVerts.

This commit is contained in:
bkaradzic
2012-11-25 22:32:27 -08:00
parent e3b0a82f0d
commit b2bde26fed
3 changed files with 4 additions and 25 deletions

View File

@@ -17,13 +17,6 @@ namespace bgfx
D3DPT_POINTLIST,
};
static const uint32_t s_primNumVerts[] =
{
3,
2,
1,
};
static const D3DMULTISAMPLE_TYPE s_checkMsaa[] =
{
D3DMULTISAMPLE_NONE,
@@ -2175,7 +2168,7 @@ namespace bgfx
uint8_t primIndex = uint8_t( (newFlags&BGFX_STATE_PT_MASK)>>BGFX_STATE_PT_SHIFT);
primType = s_primType[primIndex];
primNumVerts = s_primNumVerts[primIndex];
primNumVerts = 3-primIndex;
}
bool programChanged = false;