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:
Timm Bäder 2018-03-19 09:20:33 +01:00
parent 22780044ec
commit a9fec38680

View File

@ -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)",