Source

gltut / Tut 07 World in Motion / World Scene.cpp

Diff from to

Tut 07 World in Motion/World Scene.cpp

 		glUseProgram(UniformColorTint.theProgram);
 		glUniformMatrix4fv(UniformColorTint.modelToWorldMatrixUnif, 1, GL_FALSE, glm::value_ptr(modelMatrix.Top()));
 		glUniform4f(UniformColorTint.baseColorUnif, 0.0f, 1.0f, 0.0f, 1.0f);
-		g_pConeMesh->Render("all");
+		g_pConeMesh->Render();
 		glUseProgram(0);
 	}
 }