cogl: call _cogl_texture_init for x11 tfp

When we added the texture->framebuffers member a _cogl_texture_init
funciton was added to initialize the list of framebuffers associated
with a texture to NULL. All the backends were updated except the
x11 tfp backend. This was causing crashes in test-pixmap.
This commit is contained in:
Robert Bragg 2011-01-21 18:43:35 +00:00
parent 1973168bba
commit 8a5867799c

View File

@ -533,7 +533,7 @@ cogl_texture_pixmap_x11_new (guint32 pixmap,
_COGL_GET_CONTEXT (ctxt, COGL_INVALID_HANDLE); _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->pixmap = pixmap;
tex_pixmap->image = NULL; tex_pixmap->image = NULL;