Xenos: Fill in some of the unknown primitive types.

This commit is contained in:
Dr. Chat
2017-06-10 20:09:03 -05:00
parent 8e1c0201ad
commit 6ab4bac542
3 changed files with 40 additions and 21 deletions

View File

@@ -448,8 +448,8 @@ bool DrawBatcher::Flush(FlushMode mode) {
prim_type = GL_LINES_ADJACENCY;
break;
default:
case PrimitiveType::kUnknown0x07:
prim_type = GL_POINTS;
case PrimitiveType::kTriangleWithWFlags:
prim_type = GL_TRIANGLES;
valid_prim = false;
XELOGE("unsupported primitive type %d", batch_state_.prim_type);
assert_unhandled_case(batch_state_.prim_type);