diff --git a/cogl/cogl-texture-2d-sliced.c b/cogl/cogl-texture-2d-sliced.c index 9a6aa0f94..ef2c7d90e 100644 --- a/cogl/cogl-texture-2d-sliced.c +++ b/cogl/cogl-texture-2d-sliced.c @@ -88,7 +88,7 @@ _cogl_texture_2d_sliced_foreach_cb (CoglHandle handle, virtual_coords_out[3] = (virtual_coords_in[3] * data->y_span->size + data->y_span->start) / data->tex->height; - data->callback (data->tex, + data->callback (handle, gl_handle, gl_target, slice_coords,