mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-30 00:16:19 -04:00
Call J3DModel::diff in mDoExt_modelEntryDL when interpolating
Fixes #355
This commit is contained in:
@@ -351,8 +351,13 @@ void mDoExt_modelUpdateDL(J3DModel* i_model) {
|
||||
|
||||
void mDoExt_modelEntryDL(J3DModel* i_model) {
|
||||
#if TARGET_PC
|
||||
if (!dusk::frame_interp::is_sim_frame())
|
||||
if (!dusk::frame_interp::is_sim_frame()) {
|
||||
// FRAME INTERP NOTE: This fixes issue #355 where some lights would flicker.
|
||||
// This is likely better solved by updating J3DMaterial::needsInterpCallBack,
|
||||
// but it's unclear what exactly needs to be added.
|
||||
i_model->diff();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
modelMtxErrorCheck(i_model);
|
||||
|
||||
Reference in New Issue
Block a user