Ghost Context Refactor
[blender-staging.git] / source / gameengine / VideoTexture / ImageRender.cpp
index 1847493287963697d7d0b705c21d9ff0b74e5589..617e7fd1d8e5bb51a8d04c40249cf2bebf036d29 100644 (file)
@@ -36,7 +36,7 @@
 #include <math.h>
 
 
-#include "GL/glew.h"
+#include "glew-mx.h"
 
 #include "KX_PythonInit.h"
 #include "DNA_scene_types.h"
@@ -274,6 +274,8 @@ void ImageRender::Render()
 
        m_scene->CalculateVisibleMeshes(m_rasterizer,m_camera);
 
+       m_scene->UpdateAnimations(m_engine->GetFrameTime());
+
        m_scene->RenderBuckets(camtrans, m_rasterizer);
 
        m_scene->RenderFonts();