rendernode-extract: png files need .png extension

I had a lot of ttf files suddenly. And there was no text in the node.
This commit is contained in:
Benjamin Otte 2024-07-08 07:37:58 +02:00
parent 33f0f2a2b1
commit 287b27dad3

View File

@ -50,7 +50,7 @@ extract_texture (GskRenderNode *node)
texture = gsk_texture_scale_node_get_texture (node);
do {
filename = g_strdup_printf ("gtk-texture-%u.ttf", texture_count);
filename = g_strdup_printf ("gtk-texture-%u.png", texture_count);
path = g_build_path ("/", directory, filename, NULL);
if (!g_file_test (path, G_FILE_TEST_EXISTS))