mirror of
https://github.com/brl/mutter.git
synced 2024-11-30 03:50:47 -05:00
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
1973168bba
commit
8a5867799c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user