From 928b34ce767e160cb4b0d7db1f1f09e10cc64ef3 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Fri, 29 Jul 2022 16:15:52 -0400 Subject: [PATCH] GXSetArray: Set stateDirty --- lib/dolphin/GXGeometry.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dolphin/GXGeometry.cpp b/lib/dolphin/GXGeometry.cpp index d8714e4..9e86414 100644 --- a/lib/dolphin/GXGeometry.cpp +++ b/lib/dolphin/GXGeometry.cpp @@ -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) { auto& array = g_gxState.arrays[attr]; - array.data = data; - array.size = size; - array.stride = stride; + update_gx_state(array.data, data); + update_gx_state(array.size, size); + update_gx_state(array.stride, stride); array.cachedRange = {}; }