Use EAC_OFF
This commit is contained in:
parent
83cfe79404
commit
a7dbdc7a54
@ -341,7 +341,7 @@ scene::ISceneNode* KartModel::attachModel(bool animated_models, bool always_anim
|
||||
node = irr_driver->addAnimatedMesh(m_mesh);
|
||||
// as animated mesh are not cheap to render use frustum box culling
|
||||
if (irr_driver->isGLSL())
|
||||
node->setAutomaticCulling(false);
|
||||
node->setAutomaticCulling(scene::EAC_OFF);
|
||||
else
|
||||
node->setAutomaticCulling(scene::EAC_FRUSTUM_BOX);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user