mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[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::ThreadEnter("main");
|
||||
|
||||
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
|
||||
int argc = 1;
|
||||
char* argv[] = {"xenia", nullptr};
|
||||
QApplication app(argc, argv);
|
||||
|
|
|
|||
Loading…
Reference in a new issue