Permalink
Browse files

Use EAC_OFF

  • Loading branch information...
1 parent 83cfe79 commit a7dbdc7a544b68aef748d2e1ad6c5a633abd7610 vlj committed Jun 22, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/karts/kart_model.cpp
View
2 src/karts/kart_model.cpp
@@ -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);

0 comments on commit a7dbdc7

Please sign in to comment.