GPU: Fix missed dirtying when fast loading tgen.

This commit is contained in:
Unknown W. Brackets committed 2022-09-29 22:31:07 -07:00
1 parent 904fb38003
commit 7cf05d0a46
1 file changed
+2 -1
+2 -1
View File
@@ -2363,7 +2363,8 @@ void GPUCommon::Execute_TgenMtxNum(u32 op, u32 diff) {
if (dst[i] != newVal) {
Flush();
dst[i] = newVal;
gstate_c.Dirty(DIRTY_TEXMATRIX);
// We check the matrix to see if we need projection.
gstate_c.Dirty(DIRTY_TEXMATRIX | DIRTY_FRAGMENTSHADER_STATE);
}
if (++i >= end) {
break;