Vulkan profiling vis bugfix: Restore font scale after drawing.

This commit is contained in:
Henrik Rydgård committed 2019-08-21 23:11:01 +02:00
1 parent 05b2e11c5c
commit 7ad10ff0ef
1 file changed
+1
+1
View File
@@ -118,5 +118,6 @@ void DrawProfilerVis(UIContext *ui, GPUInterface *gpu) {
Draw::DrawContext *draw = ui->GetDrawContext();
ui->SetFontScale(0.4f, 0.4f);
ui->DrawTextShadow(text.c_str(), 10, 50, 0xFFFFFFFF, FLAG_DYNAMIC_ASCII);
ui->SetFontScale(1.0f, 1.0f);
ui->Flush();
}