texture atlas: Add a missing initialization

Pointed out by Timm.
This commit is contained in:
Matthias Clasen 2019-06-05 12:00:53 +00:00
parent e961943508
commit d90143d09c

View File

@ -136,6 +136,8 @@ gsk_gl_texture_atlases_pack (GskGLTextureAtlases *atlases,
g_assert (width < ATLAS_SIZE);
g_assert (height < ATLAS_SIZE);
atlas = NULL;
for (i = 0; i < atlases->atlases->len; i++)
{
atlas = g_ptr_array_index (atlases->atlases, i);