forked from AuroraMiddleware/gtk
rendernode: Don't use gdk_texture_download_surface
It can't handle the texture sizes we'd like to support
This commit is contained in:
parent
22780044ec
commit
a9fec38680
@ -702,7 +702,7 @@ gsk_texture_node_serialize (GskRenderNode *node)
|
||||
gsize stride;
|
||||
|
||||
stride = 4 * self->texture->width;
|
||||
data = g_malloc (sizeof (guchar) * stride * self->texture->width);
|
||||
data = g_malloc (sizeof (guchar) * stride * self->texture->height);
|
||||
gdk_texture_download (self->texture, data, stride);
|
||||
|
||||
result = g_variant_new ("(dddduu@au)",
|
||||
|
Loading…
Reference in New Issue
Block a user