]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
Request the dedicated GPU when starting Xonotic from the `.desktop` file 66/head
authorHugo Locurcio <hugo.locurcio@hugo.pro>
Wed, 6 May 2020 19:18:47 +0000 (21:18 +0200)
committerHugo Locurcio <hugo.locurcio@hugo.pro>
Wed, 6 May 2020 19:18:47 +0000 (21:18 +0200)
See <https://www.hadess.net/2020/05/dual-gpu-support-launch-on-discrete-gpu.html>
for more information about this newly added `.desktop` entry property.

misc/logos/xonotic-glx.desktop
misc/logos/xonotic.desktop

index 78c99c7cac8b7b97f221759f577fba7d17b786d2..e8873c884535b44c0c1e00dee59f504310c2bf07 100644 (file)
@@ -8,5 +8,6 @@ Comment[fr]=Jeu de tir à la première personne multijoueur
 Icon=xonotic
 Exec=xonotic-glx
 Terminal=false
 Icon=xonotic
 Exec=xonotic-glx
 Terminal=false
+PrefersNonDefaultGPU=true
 StartupNotify=false
 Categories=Game;ActionGame;
 StartupNotify=false
 Categories=Game;ActionGame;
index 50dd038623abd778d9df0f81a6ae2736703910fe..f1af0da890fbaaad9f1adb53f91d87fe9b66f5fd 100644 (file)
@@ -8,5 +8,6 @@ Comment[fr]=Jeu de tir à la première personne multijoueur
 Icon=xonotic
 Exec=xonotic-sdl
 Terminal=false
 Icon=xonotic
 Exec=xonotic-sdl
 Terminal=false
+PrefersNonDefaultGPU=true
 StartupNotify=false
 Categories=Game;ActionGame;
 StartupNotify=false
 Categories=Game;ActionGame;