Commit 28c34926 authored by Friedrich Altheide's avatar Friedrich Altheide
Browse files

virtualbox: drop fix-graphics-driver-loading.patch

parent ed44b0d0
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -266,7 +266,6 @@ stdenv.mkDerivation (finalAttrs: {
      ./qt-dependency-paths.patch
      # https://github.com/NixOS/nixpkgs/issues/123851
      ./fix-audio-driver-loading.patch
      ./fix-graphics-driver-loading.patch
    ];

  postPatch = ''
+0 −13
Original line number Diff line number Diff line
diff --git a/src/VBox/Devices/Graphics/DevVGA-SVGA3d-dx-dx11.cpp b/src/VBox/Devices/Graphics/DevVGA-SVGA3d-dx-dx11.cpp
index 1a43382..c376d6e 100644
--- a/src/VBox/Devices/Graphics/DevVGA-SVGA3d-dx-dx11.cpp
+++ b/src/VBox/Devices/Graphics/DevVGA-SVGA3d-dx-dx11.cpp
@@ -3376,7 +3376,7 @@ static DECLCALLBACK(int) vmsvga3dBackInit(PPDMDEVINS pDevIns, PVGASTATE pThis, P
     AssertReturn(pBackend, VERR_NO_MEMORY);
     pThisCC->svga.p3dState->pBackend = pBackend;
 
-    rc = RTLdrLoadSystem(VBOX_D3D11_LIBRARY_NAME, /* fNoUnload = */ true, &pBackend->hD3D11);
+    rc = RTLdrLoad(VBOX_D3D11_LIBRARY_NAME, &pBackend->hD3D11);
     AssertRC(rc);
     if (RT_SUCCESS(rc))
     {