From db61db6bab45e11b39d644788f816710e651f4be Mon Sep 17 00:00:00 2001 From: Turanszki Janos Date: Mon, 29 Oct 2018 02:13:52 +0000 Subject: [PATCH] font update --- WickedEngine/MainComponent.cpp | 2 +- WickedEngine/wiProfiler.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WickedEngine/MainComponent.cpp b/WickedEngine/MainComponent.cpp index 00fb44699..f7655e546 100644 --- a/WickedEngine/MainComponent.cpp +++ b/WickedEngine/MainComponent.cpp @@ -271,7 +271,7 @@ void MainComponent::Compose() ss << endl; } ss.precision(2); - wiFont(ss.str(), wiFontProps(4, 4, infoDisplay.size, WIFALIGN_LEFT, WIFALIGN_TOP, 2, 1, wiColor(255,255,255,255), wiColor(0,0,0,255))).Draw(GRAPHICSTHREAD_IMMEDIATE); + wiFont(ss.str(), wiFontProps(4, 4, infoDisplay.size, WIFALIGN_LEFT, WIFALIGN_TOP, 0, 0, wiColor(255,255,255,255), wiColor(0,0,0,255))).Draw(GRAPHICSTHREAD_IMMEDIATE); } wiProfiler::GetInstance().DrawData(4, 120, GRAPHICSTHREAD_IMMEDIATE); diff --git a/WickedEngine/wiProfiler.cpp b/WickedEngine/wiProfiler.cpp index f305b4529..99faab3c6 100644 --- a/WickedEngine/wiProfiler.cpp +++ b/WickedEngine/wiProfiler.cpp @@ -153,7 +153,7 @@ void wiProfiler::DrawData(int x, int y, GRAPHICSTHREAD threadID) ss << endl; } - wiFont(ss.str(), wiFontProps(x, y, -1, WIFALIGN_LEFT, WIFALIGN_TOP, 2, 1, wiColor(255,255,255,255), wiColor(0,0,0,255))).Draw(threadID); + wiFont(ss.str(), wiFontProps(x, y, -1, WIFALIGN_LEFT, WIFALIGN_TOP, 0, 0, wiColor(255,255,255,255), wiColor(0,0,0,255))).Draw(threadID); }