Merge pull request #5576 from ricardoquesada/perf_improvement_in_quad_command

little performance improvement in quad command
This commit is contained in:
Ricardo Quesada 2014-03-05 18:50:54 -08:00
commit e0030d35b2
2 changed files with 2 additions and 3 deletions

View File

@ -104,8 +104,7 @@ void QuadCommand::generateMaterialID()
void QuadCommand::useMaterial() const
{
_shader->use();
_shader->setUniformsForBuiltins();
_shader->setUniformsForBuiltins(_mv);
//Set texture
GL::bindTexture2D(_textureID);