mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-30 15:43:19 -04:00
Frame interp: Fix cloud shadow flickering (#446)
This commit is contained in:
+5
-1
@@ -296,7 +296,11 @@ J3DModelData* dRes_info_c::loaderBasicBmd(u32 i_tag, void* i_data) {
|
||||
addWarpMaterial(modelData);
|
||||
}
|
||||
|
||||
if (i_tag == 'BMDR' || i_tag == 'BMWR') {
|
||||
// FRAME INTERP NOTE: Always create shared DL buffers so we can use J3DMaterial::diff()
|
||||
#ifndef TARGET_PC
|
||||
if (i_tag == 'BMDR' || i_tag == 'BMWR')
|
||||
#endif
|
||||
{
|
||||
s32 result = modelData->newSharedDisplayList(J3DMdlFlag_UseSingleDL);
|
||||
if (result != kJ3DError_Success) {
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user