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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user