mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Improved performance slightly when love.graphics.setColor is used heavily with automatic batching.
--HG-- branch : minor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user