Added texture accessor to WaylandSurface even in the case of no GL.
authorSamuel Rødal <samuel.rodal@nokia.com>
Thu, 24 Mar 2011 10:56:14 +0000 (11:56 +0100)
committerSamuel Rødal <samuel.rodal@nokia.com>
Thu, 24 Mar 2011 10:57:21 +0000 (11:57 +0100)
commit05d18002e137152856404ee2f01215f8d086d074
treed6cd29a472890b10bb4aec7bab7a5bbfa7f9c300
parentb66ba9a612bcc1f53df816a9800475f00005fa48
Added texture accessor to WaylandSurface even in the case of no GL.

Just return 0, so that compositors don't have to be rewritten when the
backend only supports SHM surfaces.
src/qt-compositor/compositor_api/waylandsurface.cpp
src/qt-compositor/compositor_api/waylandsurface.h