mirror of
https://github.com/love2d/love.git
synced 2026-08-19 04:06:17 +02:00
Internally keep track of the value of the current color (issue #564)
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#define LOVE_GRAPHICS_OPENGL_OPENGL_H
|
||||
|
||||
#include "GLee.h"
|
||||
|
||||
#include "graphics/Color.h"
|
||||
#include "graphics/Image.h"
|
||||
|
||||
namespace love
|
||||
@@ -42,6 +44,16 @@ void initializeContext();
|
||||
**/
|
||||
void uninitializeContext();
|
||||
|
||||
/**
|
||||
* Sets the current constant color.
|
||||
**/
|
||||
void setCurrentColor(const Color &c);
|
||||
|
||||
/**
|
||||
* Gets the current constant color.
|
||||
**/
|
||||
Color getCurrentColor();
|
||||
|
||||
/**
|
||||
* Helper for setting the active texture unit.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user