mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
Disabled (forced to 1) broken scaling on Linux Qt environments.
This commit is contained in:
1 parent
997aae346b
commit
c9dcf024b9
1 file changed
+4
-1
+4
-1
@@ -84,8 +84,11 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
|
||||
res.transpose();
|
||||
pixel_xres = res.width();
|
||||
pixel_yres = res.height();
|
||||
|
||||
#ifdef defined(Q_WS_X11)
|
||||
g_dpi_scale = 1.0f;
|
||||
#else
|
||||
g_dpi_scale = CalculateDPIScale();
|
||||
#endif
|
||||
dp_xres = (int)(pixel_xres * g_dpi_scale); dp_yres = (int)(pixel_yres * g_dpi_scale);
|
||||
net::Init();
|
||||
#ifdef __SYMBIAN32__
|
||||
|
||||
Reference in new issue
Block a user