Break if vertex count = 0

This commit is contained in:
raven02 2013-09-04 17:14:49 +08:00
parent bf5741a1f4
commit 4866a992ec

View File

@ -645,7 +645,10 @@ void GLES_GPU::ExecuteOp(u32 op, u32 diff) {
u32 count = data & 0xFFFF;
GEPrimitiveType prim = static_cast<GEPrimitiveType>(data >> 16);
if (count == 0)
break;
// Discard AA lines as we can't do anything that makes sense with these anyway. The SW plugin might, though.
// Discard AA lines in DOA