diff options
author | Neil Roberts <neil@linux.intel.com> | 2011-06-10 18:48:44 +0100 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2011-06-10 18:48:44 +0100 |
commit | de1114ffd9b65088f5119a9b7674d1bb8ff98a0e (patch) | |
tree | 0c8bd040cae72ebf920668481f59d1d3455e5016 | |
parent | 2ec7f74881f9c6f0b13668564cd2a983edb6838f (diff) | |
download | clutter-de1114ffd9b65088f5119a9b7674d1bb8ff98a0e.tar.gz |
cogl-texture-pixmap-x11: Fix the can_hardware_repeat wrapper
The wrapper for the can_hardware_repeat had a cut and paste error so
it would call the wrong function on the child texture.
Many thanks to Owen Taylor for finding this bug.
This is backported from 6d1371e0e9291a on the Cogl master branch.
-rw-r--r-- | clutter/cogl/cogl/winsys/cogl-texture-pixmap-x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/cogl/cogl/winsys/cogl-texture-pixmap-x11.c b/clutter/cogl/cogl/winsys/cogl-texture-pixmap-x11.c index 58bef605c..83e369ab6 100644 --- a/clutter/cogl/cogl/winsys/cogl-texture-pixmap-x11.c +++ b/clutter/cogl/cogl/winsys/cogl-texture-pixmap-x11.c @@ -1219,7 +1219,7 @@ _cogl_texture_pixmap_x11_can_hardware_repeat (CoglTexture *tex) child_tex = _cogl_texture_pixmap_x11_get_texture (tex_pixmap); - return cogl_texture_get_max_waste (child_tex); + return _cogl_texture_can_hardware_repeat (child_tex); } static void |