[Qt] Enable High DPI scaling / pixmaps

This commit is contained in:
Dr. Chat 2018-05-14 19:54:08 -05:00
parent 0f2c8a4e64
commit 398eaa565f
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@ int xenia_main(const std::vector<std::wstring>& args) {
Profiler::Initialize();
Profiler::ThreadEnter("main");
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
int argc = 1;
char* argv[] = {"xenia", nullptr};
QApplication app(argc, argv);