Fix T80599 Blender Cloud folder text on the screen very small

This was caused by BLF conflicting with BGL api change.
This commit is contained in:
Clément Foucault
2020-10-12 15:32:56 +02:00
parent f56c5245d2
commit c68a2a722d

View File

@@ -600,6 +600,9 @@ void BLF_draw(int fontid, const char *str, size_t len)
return;
}
/* Avoid bgl usage to corrupt BLF drawing. */
GPU_bgl_end();
BLF_draw_ex(fontid, str, len, NULL);
}