diff options
Diffstat (limited to 'src/mobileopenglgraphics.h')
-rw-r--r-- | src/mobileopenglgraphics.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mobileopenglgraphics.h b/src/mobileopenglgraphics.h index ba03aee99..12b244996 100644 --- a/src/mobileopenglgraphics.h +++ b/src/mobileopenglgraphics.h @@ -125,7 +125,11 @@ class MobileOpenGLGraphics final : public Graphics void popClipArea(); - void setColor(const gcn::Color &color); + void setColor(const gcn::Color &color) + { + mColor = color; + mColorAlpha = (color.a != 255); + } void drawPoint(int x, int y); |