Commit 73465504 authored by Alex Neargarder's avatar Alex Neargarder
Browse files

sourcegit: add libGL to runtimeDeps

Without libGL, Avalonia can't load libGL.so/libGLX.so and falls back to
software Skia rendering, which causes a lot of UI lag that scales with window
size.
parent 12e5a09c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  makeDesktopItem,
  libicns,

  libGL,
  libxcursor,
  libxext,
  libxi,
@@ -53,8 +54,10 @@ buildDotnetModule (finalAttrs: {

  # these are dlopen-ed at runtime
  # libxi is needed for right-click support
  # libGL is needed for GPU-accelerated rendering (without it, Avalonia falls back to software rendering)
  # not sure about what the other ones are needed for, but I'll include them anyways
  runtimeDeps = [
    libGL
    libxcursor
    libxext
    libxi