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:
parent
4758ed2cf2
commit
d6a150bb6e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user