summaryrefslogtreecommitdiffstats
path: root/src/client/hardwareintegration
diff options
context:
space:
mode:
authorJorgen Lind <jorgen.lind@digia.com>2014-01-07 09:20:15 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-09 12:25:11 +0100
commit3323630585ea40842db42ad64ad45fe5b465a5b8 (patch)
treee0a11de2279210ff22f57799e576e2f069cbeba0 /src/client/hardwareintegration
parent10700eb19191879caf41bc188dca807b68a4146c (diff)
Adjust the serverbufferintegrations to use bind texture api
It mapps closer to the underlying OpenGL architecture Change-Id: I4e0dca4d54670846488c86df2a0fa0c58d49734d Reviewed-by: Jan Arne Petersen <jan.petersen@kdab.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/client/hardwareintegration')
-rw-r--r--src/client/hardwareintegration/qwaylandserverbufferintegration_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/hardwareintegration/qwaylandserverbufferintegration_p.h b/src/client/hardwareintegration/qwaylandserverbufferintegration_p.h
index 79e7cdf2a..18090a798 100644
--- a/src/client/hardwareintegration/qwaylandserverbufferintegration_p.h
+++ b/src/client/hardwareintegration/qwaylandserverbufferintegration_p.h
@@ -63,8 +63,7 @@ public:
QWaylandServerBuffer();
virtual ~QWaylandServerBuffer();
- //creates new texture for buffer
- virtual GLuint createTexture() = 0;
+ virtual void bindTextureToBuffer() = 0;
Format format() const;
QSize size() const;