diff options
Diffstat (limited to 'src/normalopenglgraphics.h')
-rw-r--r-- | src/normalopenglgraphics.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/normalopenglgraphics.h b/src/normalopenglgraphics.h index f33b1fb97..86a380ac8 100644 --- a/src/normalopenglgraphics.h +++ b/src/normalopenglgraphics.h @@ -132,6 +132,13 @@ class NormalOpenGLGraphics final : public Graphics mColorAlpha = (color.a != 255); } + void setColorAll(const gcn::Color &color, const gcn::Color &color2) + { + mColor = color; + mColor2 = color2; + mColorAlpha = (color.a != 255); + } + void drawPoint(int x, int y); void drawLine(int x1, int y1, int x2, int y2); |