Skip to content

Commit 6ee4c8a

Browse files
authored
Don't treat POSITION1 as index stream. (#48)
1 parent 0377682 commit 6ee4c8a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

MarathonRecomp/gpu/video.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5207,10 +5207,6 @@ static GuestVertexDeclaration* CreateVertexDeclarationWithoutAddRef(GuestVertexE
52075207
}
52085208

52095209
break;
5210-
case D3DDECLUSAGE_POSITION:
5211-
if (vertexElement->usageIndex == 1)
5212-
vertexDeclaration->indexVertexStream = vertexElement->stream;
5213-
break;
52145210

52155211
case D3DDECLUSAGE_TEXCOORD:
52165212
switch (vertexElement->type)

0 commit comments

Comments
 (0)