diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-12 11:28:24 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-12 11:28:24 +0100 |
commit | 5a9c7a43b698813712b036794c1676f2aecc094c (patch) | |
tree | 3042ea6172fff20108e9443895903933482d4096 | |
parent | 93f004bd82330a0acc0cde8cbbf9150d49d0ed4e (diff) |
Remove unused private Canvas mem
-rw-r--r-- | plugingui/painter.cc | 3 | ||||
-rw-r--r-- | plugingui/painter.h | 1 |
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; }; |