mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-18 05:11:15 +00:00
Fix broken 3D on non-miniwin Win32 (#130)
This commit is contained in:
parent
70536c50bd
commit
d4d77644d1
@ -166,7 +166,7 @@ void ViewManager::UpdateROIDetailBasedOnLOD(ViewROI* p_roi, int p_und)
|
|||||||
lod = (ViewLOD*) p_roi->GetLOD(p_und);
|
lod = (ViewLOD*) p_roi->GetLOD(p_und);
|
||||||
|
|
||||||
if (lod->GetUnknown0x08() & ViewLOD::c_bit4) {
|
if (lod->GetUnknown0x08() & ViewLOD::c_bit4) {
|
||||||
scene->Add((Tgl::MeshBuilder*) group);
|
scene->Add(group);
|
||||||
SetAppData(p_roi, reinterpret_cast<LPD3DRM_APPDATA>(p_roi));
|
SetAppData(p_roi, reinterpret_cast<LPD3DRM_APPDATA>(p_roi));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user