[Qt] Enable High DPI scaling / pixmaps
This commit is contained in:
parent
0f2c8a4e64
commit
398eaa565f
|
@ -30,6 +30,9 @@ int xenia_main(const std::vector<std::wstring>& args) {
|
||||||
Profiler::Initialize();
|
Profiler::Initialize();
|
||||||
Profiler::ThreadEnter("main");
|
Profiler::ThreadEnter("main");
|
||||||
|
|
||||||
|
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||||
|
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||||
|
|
||||||
int argc = 1;
|
int argc = 1;
|
||||||
char* argv[] = {"xenia", nullptr};
|
char* argv[] = {"xenia", nullptr};
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
|
|
Loading…
Reference in New Issue