d_drawlist: shadow fix

dDlst_shadowControl_c::reset() is called every frame, dDlst_shadowControl_c::init() is not. Fix up dDlst_shadowControl_c::init() to not leak and reset its own data when needed, and remove texture reset calls which tear down the texobj.
This commit is contained in:
Jasper St. Pierre
2026-04-13 19:34:16 -07:00
parent 49d18c54af
commit 16e78b7d2d
2 changed files with 13 additions and 18 deletions
+3
View File
@@ -310,6 +310,9 @@ private:
/* 0x03410 */ dDlst_shadowReal_c mReal[8];
/* 0x15EB0 */ TGXTexObj mShadowTexObj[2];
/* 0x15EF0 */ void* mShadowTexData[2];
#if TARGET_PC
int mTexResScale;
#endif
};
class dDlst_window_c {