plasticity: Fix EGL (#362253)

This commit is contained in:
Aleksana
2024-12-07 23:04:06 +08:00
committed by GitHub
+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; {