From 77b009de748951997ffd647e4fa7d51cd0a0a45e Mon Sep 17 00:00:00 2001 From: Ulysses Zhan Date: Wed, 4 Mar 2026 15:09:41 -0800 Subject: [PATCH] scrcpy: remove patch --- pkgs/by-name/sc/scrcpy/package.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkgs/by-name/sc/scrcpy/package.nix b/pkgs/by-name/sc/scrcpy/package.nix index c61ddeb94b7a..34621b2637ac 100644 --- a/pkgs/by-name/sc/scrcpy/package.nix +++ b/pkgs/by-name/sc/scrcpy/package.nix @@ -35,14 +35,6 @@ stdenv.mkDerivation rec { hash = "sha256-5yd4YHVJH5+iBN5z0SYdTB0ay6vY4XwM/CCDjbEux74="; }; - # display.c: When run without a hardware accelerator, this allows the command to continue working rather than failing unexpectedly. - # This can happen when running on non-NixOS because then scrcpy seems to have a hard time using the host OpenGL-supporting hardware. - # It would be better to fix the OpenGL problem, but that seems much more intrusive. - postPatch = '' - substituteInPlace app/src/display.c \ - --replace "SDL_RENDERER_ACCELERATED" "SDL_RENDERER_ACCELERATED || SDL_RENDERER_SOFTWARE" - ''; - nativeBuildInputs = [ makeWrapper meson