This commit is contained in:
@@ -16,9 +16,9 @@ static constexpr void scaleSz(ImVec2 &sz) noexcept {
|
||||
sz.y *= scale;
|
||||
}
|
||||
|
||||
thread_local float g_dpiScale = 1.f;
|
||||
static thread_local float g_dpiScale = 1.f;
|
||||
|
||||
void setDpiScale(float scale) noexcept {
|
||||
void setDpiScale(float const scale) noexcept {
|
||||
g_dpiScale = scale;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user