Change rect lists to tri lists instead of strips.

Progress on #304.
This commit is contained in:
Ben Vanik
2015-06-29 17:12:47 -07:00
parent 6c0f1fc15d
commit 6c571ccfc5
2 changed files with 26 additions and 7 deletions

View File

@@ -302,7 +302,7 @@ bool DrawBatcher::Flush(FlushMode mode) {
prim_type = GL_TRIANGLE_FAN;
break;
case PrimitiveType::kRectangleList:
prim_type = GL_TRIANGLE_STRIP;
prim_type = GL_TRIANGLES;
// Rect lists aren't culled. There may be other things they skip too.
// assert_true((register_file_->values[XE_GPU_REG_PA_SU_SC_MODE_CNTL].u32
// &