summaryrefslogtreecommitdiff
path: root/plugingui/painter.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-02-12 11:28:24 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-02-12 11:28:24 +0100
commit5a9c7a43b698813712b036794c1676f2aecc094c (patch)
tree3042ea6172fff20108e9443895903933482d4096 /plugingui/painter.cc
parent93f004bd82330a0acc0cde8cbbf9150d49d0ed4e (diff)
Remove unused private Canvas mem
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);
}