little performance improvement in quad command

This commit is contained in:
Ricardo Quesada 2014-03-05 18:50:09 -08:00
parent 4fe827e46b
commit 273d0d22f1
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);