Plasticity: Fix EGL

This commit is contained in:
liberodark
2024-12-06 08:18:01 +01:00
parent 092aef6491
commit 9efa9ce516
+2 -3
View File
@@ -117,9 +117,8 @@ stdenv.mkDerivation rec {
'';
#--use-gl=egl for it to use hardware rendering it seems. Otherwise there are terrible framerates
postInstall = ''
substituteInPlace share/applications/Plasticity.desktop \
--replace-fail 'Exec=Plasticity %U' "Exec=Plasticity --use-gl=egl %U"
preFixup = ''
gappsWrapperArgs+=(--add-flags "--use-gl=egl")
'';
meta = with lib; {