mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-05 22:55:19 +00:00
[Qt] Enable High DPI scaling / pixmaps
This commit is contained in:
parent
0f2c8a4e64
commit
398eaa565f
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue