mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-08 20:45:34 +00:00
Qt: Enable DPI scaling
This commit is contained in:
parent
bea15c97cd
commit
fbf5e7f0e3
@ -20,6 +20,8 @@ int main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
InitLogging();
|
InitLogging();
|
||||||
|
|
||||||
|
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||||
|
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
|
|
||||||
std::unique_ptr<QtHostInterface> host_interface = std::make_unique<QtHostInterface>();
|
std::unique_ptr<QtHostInterface> host_interface = std::make_unique<QtHostInterface>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user