]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/external-libkmsxx.git/blobdiff - kmscube/cube-gbm.cpp
testpat: use new id/idx resolving
[android/external-libkmsxx.git] / kmscube / cube-gbm.cpp
index bbf58d1377f0017f0b4f4cfbae36909ec2a8a5b4..f6d312b5277718fa879e1cc71d500e2745574ab6 100644 (file)
@@ -10,7 +10,7 @@
 #include <gbm.h>
 
 #include <kms++.h>
-#include "test.h"
+#include <kms++util.h>
 #include "cube-egl.h"
 #include "cube-gles2.h"
 
@@ -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;