Merge pull request #1687 from heuripedes/glui-font-fix

Fix blocky text issues during context reset
This commit is contained in:
Twinaphex 2015-05-11 18:55:17 +02:00
commit 5ebecc0db1

View File

@ -526,6 +526,9 @@ static void glui_context_bg_destroy(glui_handle_t *glui)
glDeleteTextures(1, &glui->textures.bg.id);
if (glui->textures.white)
glDeleteTextures(1, &glui->textures.white);
glui->textures.bg.id = 0;
glui->textures.white = 0;
}
}