Video backends: warn on usage of GL_DRAW_QUADS_2.

It's not normally used, so if it shows up, it could indicate a CPU emulation
bug.
This commit is contained in:
magumagu
2014-05-17 11:55:32 -07:00
parent 39d439fc48
commit 9b82d72070
3 changed files with 12 additions and 2 deletions

View File

@ -25,7 +25,10 @@ void SetupUnit::SetupVertex()
switch (m_PrimType)
{
case GX_DRAW_QUADS:
SetupQuad();
break;
case GX_DRAW_QUADS_2:
WARN_LOG(VIDEO, "Non-standard primitive drawing command GL_DRAW_QUADS_2");
SetupQuad();
break;
case GX_DRAW_TRIANGLES: