mirror of https://github.com/axmolengine/axmol.git
Merge pull request #5576 from ricardoquesada/perf_improvement_in_quad_command
little performance improvement in quad command
This commit is contained in:
commit
e0030d35b2
|
@ -104,8 +104,7 @@ void QuadCommand::generateMaterialID()
|
|||
void QuadCommand::useMaterial() const
|
||||
{
|
||||
_shader->use();
|
||||
|
||||
_shader->setUniformsForBuiltins();
|
||||
_shader->setUniformsForBuiltins(_mv);
|
||||
|
||||
//Set texture
|
||||
GL::bindTexture2D(_textureID);
|
||||
|
|
Loading…
Reference in New Issue