GUI: issue #954
This commit is contained in:
parent
d49850f67f
commit
d546d135b9
2 changed files with 24 additions and 18 deletions
|
|
@ -5357,6 +5357,10 @@ bool FurnaceGUI::init() {
|
|||
logD("auto-detecting UI scale factor.");
|
||||
dpiScale=getScaleFactor(videoBackend);
|
||||
logD("scale factor: %f",dpiScale);
|
||||
if (dpiScale<0.1f) {
|
||||
logW("scale what?");
|
||||
dpiScale=1.0f;
|
||||
}
|
||||
}
|
||||
|
||||
#if !(defined(__APPLE__) || defined(_WIN32))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue