From a7dbdc7a544b68aef748d2e1ad6c5a633abd7610 Mon Sep 17 00:00:00 2001 From: vlj Date: Sun, 22 Jun 2014 02:17:50 +0200 Subject: [PATCH] Use EAC_OFF --- src/karts/kart_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/karts/kart_model.cpp b/src/karts/kart_model.cpp index fb9772fb5..b95b8dbee 100644 --- a/src/karts/kart_model.cpp +++ b/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);