Improved performance slightly when love.graphics.setColor is used heavily with automatic batching.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-01-03 23:49:29 -04:00
parent 8899c03651
commit 551dc423a2
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ public:
/**
* Sets the constant color (vertex attribute). This may be applied
* internally at draw-time.
* internally at draw-time. This gets gamma-corrected internally as well.
**/
void setConstantColor(const Colorf &color);
const Colorf &getConstantColor() const;