summaryrefslogtreecommitdiff
path: root/kmscube
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-04-25 17:25:20 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-04-25 17:25:20 +0300
commit6f3d0e750991838f9dab7a470708a3d82e5dcda5 (patch)
treef8c40ed31098dbe39d74f3ffc1f1ea332c3237e3 /kmscube
parent077a1aa010c1e1b8693f2569f10eaebbd4b18f64 (diff)
kmscube: remove unused field
Diffstat (limited to 'kmscube')
-rw-r--r--kmscube/cube-gbm.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/kmscube/cube-gbm.cpp b/kmscube/cube-gbm.cpp
index bbf58d1..022c761 100644
--- a/kmscube/cube-gbm.cpp
+++ b/kmscube/cube-gbm.cpp
@@ -89,7 +89,7 @@ class GbmEglSurface
{
public:
GbmEglSurface(Card& card, GbmDevice& gdev, const EglState& egl, int width, int height)
- : card(card), gdev(gdev), egl(egl), m_width(width), m_height(height),
+ : card(card), egl(egl), m_width(width), m_height(height),
bo_prev(0), bo_next(0)
{
gsurface = unique_ptr<GbmSurface>(new GbmSurface(gdev, width, height));
@@ -161,7 +161,6 @@ public:
private:
Card& card;
- GbmDevice& gdev;
const EglState& egl;
unique_ptr<GbmSurface> gsurface;