I give up trying to fix this file dialog
for now
This commit is contained in:
parent
dc9f1112d1
commit
64f5343289
2 changed files with 7 additions and 4 deletions
|
|
@ -4105,6 +4105,7 @@ bool FurnaceGUI::init() {
|
|||
|
||||
#ifndef __APPLE__
|
||||
if (settings.dpiScale<0.5f) {
|
||||
// TODO: replace with a function to actually detect the display scaling factor as it's unreliable.
|
||||
SDL_GetDisplayDPI(SDL_GetWindowDisplayIndex(sdlWin),&dpiScaleF,NULL,NULL);
|
||||
dpiScale=round(dpiScaleF/96.0f);
|
||||
if (dpiScale<1) dpiScale=1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue