mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-02 18:46:52 +00:00
softgpu: Remove an unused case.
This commit is contained in:
parent
6c6133a3c1
commit
3342d5ecb3
@ -569,10 +569,9 @@ void TransformUnit::SubmitPrimitive(const void* vertices, const void* indices, G
|
|||||||
// Some games send rectangles as a series of regular triangles.
|
// Some games send rectangles as a series of regular triangles.
|
||||||
// We look for this, but only in throughmode.
|
// We look for this, but only in throughmode.
|
||||||
ClipVertexData buf[6];
|
ClipVertexData buf[6];
|
||||||
int buf_index = data_index_;
|
// Could start at data_index_ and copy to buf, but there's little reason.
|
||||||
for (int i = 0; i < data_index_; ++i) {
|
int buf_index = 0;
|
||||||
buf[i] = data_[i];
|
_assert_(data_index_ == 0);
|
||||||
}
|
|
||||||
|
|
||||||
for (int vtx = 0; vtx < vertex_count; ++vtx) {
|
for (int vtx = 0; vtx < vertex_count; ++vtx) {
|
||||||
buf[buf_index++] = vreader.Read(vtx);
|
buf[buf_index++] = vreader.Read(vtx);
|
||||||
|
Loading…
Reference in New Issue
Block a user