OpenSubdiv: Commit of OpenSubdiv integration into Blender
[blender.git] / source / gameengine / Ketsji / BL_BlenderShader.cpp
index fabe49b668de0e33ed53d770593001ded2bdd374..b5151615f3b4094400ae92c4015f3f22305642de 100644 (file)
@@ -62,7 +62,7 @@ BL_BlenderShader::~BL_BlenderShader()
 
 void BL_BlenderShader::ReloadMaterial()
 {
-       mGPUMat = (mMat) ? GPU_material_from_blender(mBlenderScene, mMat) : NULL;
+       mGPUMat = (mMat) ? GPU_material_from_blender(mBlenderScene, mMat, false) : NULL;
 }
 
 void BL_BlenderShader::SetProg(bool enable, double time, RAS_IRasterizer* rasty)