diff --git a/cogl/winsys/cogl-texture-pixmap-x11.c b/cogl/winsys/cogl-texture-pixmap-x11.c index 961af2920..48bcaac49 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