summaryrefslogtreecommitdiff
path: root/plugingui/painter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/painter.cc')
-rw-r--r--plugingui/painter.cc3
1 files changed, 1 insertions, 2 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);
}