diff options
author | Neil Roberts <neil@linux.intel.com> | 2011-06-10 18:43:56 +0100 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2011-06-10 18:43:56 +0100 |
commit | 6d1371e0e9291a10404a34992322ed698333f738 (patch) | |
tree | 9d8956ae48541a8bba145f6382c031326b98349e | |
parent | db954565d4e9ffeb848a1b1554f1ed568a29b55f (diff) | |
download | cogl-6d1371e0e9291a10404a34992322ed698333f738.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.
-rw-r--r-- | cogl/winsys/cogl-texture-pixmap-x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/winsys/cogl-texture-pixmap-x11.c b/cogl/winsys/cogl-texture-pixmap-x11.c index 961af292..48bcaac4 100644 --- a/cogl/winsys/cogl-texture-pixmap-x11.c +++ b/cogl/winsys/cogl-texture-pixmap-x11.c @@ -781,7 +781,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 |