summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/painter.cc3
-rw-r--r--plugingui/painter.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/plugingui/painter.cc b/plugingui/painter.cc
index 4e7e8ba..16e305f 100644
--- a/plugingui/painter.cc
+++ b/plugingui/painter.cc
@@ -39,8 +39,7 @@ namespace GUI
{
Painter::Painter(Canvas& canvas)
- : canvas(canvas)
- , pixbuf(canvas.GetPixelBuffer())
+ : pixbuf(canvas.GetPixelBuffer())
{
colour = Colour(0.0f, 0.0f, 0.0f, 0.5f);
}
diff --git a/plugingui/painter.h b/plugingui/painter.h
index 3f3c2bb..df26b3e 100644
--- a/plugingui/painter.h
+++ b/plugingui/painter.h
@@ -82,7 +82,6 @@ public:
void clear();
private:
- Canvas& canvas;
PixelBufferAlpha& pixbuf;
Colour colour;
};