diff --git a/source/graphics/Model.cpp b/source/graphics/Model.cpp index d164f6720e..56ab4fe2b3 100755 --- a/source/graphics/Model.cpp +++ b/source/graphics/Model.cpp @@ -20,8 +20,7 @@ // Constructor CModel::CModel() : m_pModelDef(0), m_Flags(0), m_Anim(0), m_AnimTime(0), - m_BoneMatrices(0), m_InvBoneMatrices(0), m_BoneMatricesValid(false), - m_VertexProgram(0) + m_BoneMatrices(0), m_InvBoneMatrices(0), m_BoneMatricesValid(false) { } diff --git a/source/graphics/Model.h b/source/graphics/Model.h index 3a5b2e6aee..11f660eef7 100755 --- a/source/graphics/Model.h +++ b/source/graphics/Model.h @@ -16,7 +16,6 @@ #include "RenderableObject.h" #include "SkeletonAnim.h" #include "Material.h" -#include "renderer/VertexProgram.h" #define MODELFLAG_CASTSHADOWS (1<<0) @@ -122,8 +121,6 @@ private: u32 m_Flags; // texture used by model CTexture m_Texture; - // vertex program - CVertexProgram *m_VertexProgram; // model's material CMaterial m_Material; // pointer to the model's raw 3d data