Skip to content

Commit ef60b4c

Browse files
committed
fix: qos and t4 xsurface index buffer
1 parent 425004c commit ef60b4c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/Common/Game/QOS/QOS_Assets.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,8 @@ namespace QOS
405405
void* vb1;
406406
unsigned int vertListCount;
407407
XRigidVertList* vertList;
408-
int partBits[7];
408+
void* indexBuffer;
409+
int partBits[6];
409410
};
410411

411412
struct XModelLodInfo

src/Common/Game/T4/T4_Assets.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@ namespace T4
448448
void /*IDirect3DVertexBuffer9*/* vb0;
449449
unsigned int vertListCount;
450450
XRigidVertList* vertList;
451-
int partBits[4];
452451
void /*IDirect3DIndexBuffer9*/* indexBuffer;
452+
int partBits[4];
453453
};
454454

455455
struct XModelLodInfo

0 commit comments

Comments
 (0)