GXSetArray: Set stateDirty

This commit is contained in:
Luke Street 2022-07-29 16:15:52 -04:00
parent 74732a8cb3
commit 928b34ce76
1 changed files with 3 additions and 3 deletions

View File

@ -33,9 +33,9 @@ void GXSetVtxAttrFmt(GXVtxFmt vtxfmt, GXAttr attr, GXCompCnt cnt, GXCompType typ
void GXSetArray(GXAttr attr, const void* data, u32 size, u8 stride) { void GXSetArray(GXAttr attr, const void* data, u32 size, u8 stride) {
auto& array = g_gxState.arrays[attr]; auto& array = g_gxState.arrays[attr];
array.data = data; update_gx_state(array.data, data);
array.size = size; update_gx_state(array.size, size);
array.stride = stride; update_gx_state(array.stride, stride);
array.cachedRange = {}; array.cachedRange = {};
} }