diff options
Diffstat (limited to 'examples/wayland/minimal-cpp/compositor.h')
-rw-r--r-- | examples/wayland/minimal-cpp/compositor.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/wayland/minimal-cpp/compositor.h b/examples/wayland/minimal-cpp/compositor.h index fe379082c..e44a8eb52 100644 --- a/examples/wayland/minimal-cpp/compositor.h +++ b/examples/wayland/minimal-cpp/compositor.h @@ -48,17 +48,18 @@ QT_BEGIN_NAMESPACE class Window; +class QOpenGLTexture; class View : public QWaylandView { Q_OBJECT public: View() : m_texture(0) {} - GLuint getTexture(); + QOpenGLTexture *getTexture(); bool isCursor() const; private: friend class Compositor; - GLuint m_texture; + QOpenGLTexture *m_texture; }; class Compositor : public QWaylandCompositor |