mirror of https://github.com/mgba-emu/mgba.git
HiDPI support for Qt GUI
This commit is contained in:
parent
442a0794be
commit
34ddae8e4d
|
@ -68,6 +68,7 @@ int main(int argc, char* argv[]) {
|
||||||
|
|
||||||
QApplication::setApplicationName(projectName);
|
QApplication::setApplicationName(projectName);
|
||||||
QApplication::setApplicationVersion(projectVersion);
|
QApplication::setApplicationVersion(projectVersion);
|
||||||
|
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
|
||||||
|
|
||||||
#ifdef BUILD_GLES2
|
#ifdef BUILD_GLES2
|
||||||
QSurfaceFormat format;
|
QSurfaceFormat format;
|
||||||
|
|
Loading…
Reference in New Issue