diff options
| author | magumagu <magumagu9@gmail.com> | 2014-05-17 11:55:32 -0700 |
|---|---|---|
| committer | magumagu <magumagu9@gmail.com> | 2014-05-17 11:55:32 -0700 |
| commit | 9b82d720705c8e6fd34c336a92dde5a8b10471b9 (patch) | |
| tree | ad022890e17239c5985f9f593f866940f233e683 /Source/Core/VideoBackends/Software/SetupUnit.cpp | |
| parent | 39d439fc48ef44d0a28113a10cb796cd8989f944 (diff) | |
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.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SetupUnit.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SetupUnit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Software/SetupUnit.cpp b/Source/Core/VideoBackends/Software/SetupUnit.cpp index da62490c50..171350db60 100644 --- a/Source/Core/VideoBackends/Software/SetupUnit.cpp +++ b/Source/Core/VideoBackends/Software/SetupUnit.cpp @@ -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: |
