diff options
Diffstat (limited to 'examples/wayland/qwindow-compositor/windowcompositor.h')
-rw-r--r-- | examples/wayland/qwindow-compositor/windowcompositor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/wayland/qwindow-compositor/windowcompositor.h b/examples/wayland/qwindow-compositor/windowcompositor.h index 5290d7c85..80a7bebe4 100644 --- a/examples/wayland/qwindow-compositor/windowcompositor.h +++ b/examples/wayland/qwindow-compositor/windowcompositor.h @@ -59,7 +59,7 @@ class WindowCompositorView : public QWaylandView Q_OBJECT public: WindowCompositorView(); - GLuint getTexture(); + GLuint getTexture(GLenum *target = 0); QPointF position() const { return m_position; } void setPosition(const QPointF &pos) { m_position = pos; } bool isCursor() const; @@ -72,6 +72,7 @@ public: private: friend class WindowCompositor; + GLenum m_textureTarget; GLuint m_texture; QPointF m_position; QWaylandWlShellSurface *m_wlShellSurface; |