diff --git a/clutter/cogl/cogl/winsys/cogl-texture-pixmap-x11.c b/clutter/cogl/cogl/winsys/cogl-texture-pixmap-x11.c index 54697f8e7..58bef605c 100644 --- a/clutter/cogl/cogl/winsys/cogl-texture-pixmap-x11.c +++ b/clutter/cogl/cogl/winsys/cogl-texture-pixmap-x11.c @@ -533,7 +533,7 @@ cogl_texture_pixmap_x11_new (guint32 pixmap, _COGL_GET_CONTEXT (ctxt, COGL_INVALID_HANDLE); - tex->vtable = &cogl_texture_pixmap_x11_vtable; + _cogl_texture_init (tex, &cogl_texture_pixmap_x11_vtable); tex_pixmap->pixmap = pixmap; tex_pixmap->image = NULL;