summary refs log tree commit diff
path: root/doc/builders/packages/opengl.section.md
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2021-06-07 06:02:29 -0700
committerGitHub <noreply@github.com>2021-06-07 06:02:29 -0700
commit2f92034d30bc7f8708b8f8cef134b67ad2670a3f (patch)
tree528c3d53c5b6892b866911355d316f12a2a30e7a /doc/builders/packages/opengl.section.md
parent1c50387848bb0d24cb737390322761410b482667 (diff)
parent3c78ad2561a831dcbe6e193465f787019638d56b (diff)
downloadnixpkgs-2f92034d30bc7f8708b8f8cef134b67ad2670a3f.tar
nixpkgs-2f92034d30bc7f8708b8f8cef134b67ad2670a3f.tar.gz
nixpkgs-2f92034d30bc7f8708b8f8cef134b67ad2670a3f.tar.bz2
nixpkgs-2f92034d30bc7f8708b8f8cef134b67ad2670a3f.tar.lz
nixpkgs-2f92034d30bc7f8708b8f8cef134b67ad2670a3f.tar.xz
nixpkgs-2f92034d30bc7f8708b8f8cef134b67ad2670a3f.tar.zst
nixpkgs-2f92034d30bc7f8708b8f8cef134b67ad2670a3f.zip
Merge pull request #125838 from jtojnar/strict-commonmark
doc: Parse as CommonMark
Diffstat (limited to 'doc/builders/packages/opengl.section.md')
-rw-r--r--doc/builders/packages/opengl.section.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/builders/packages/opengl.section.md b/doc/builders/packages/opengl.section.md
index 6866bf89221..ee7f3af98cf 100644
--- a/doc/builders/packages/opengl.section.md
+++ b/doc/builders/packages/opengl.section.md
@@ -4,11 +4,11 @@ OpenGL support varies depending on which hardware is used and which drivers are
 
 Broadly, we support both GL vendors: Mesa and NVIDIA.
 
-## NixOS Desktop
+## NixOS Desktop {#nixos-desktop}
 
 The NixOS desktop or other non-headless configurations are the primary target for OpenGL libraries and applications. The current solution for discovering which drivers are available is based on [libglvnd](https://gitlab.freedesktop.org/glvnd/libglvnd). `libglvnd` performs "vendor-neutral dispatch", trying a variety of techniques to find the system's GL implementation. In practice, this will be either via standard GLX for X11 users or EGL for Wayland users, and supporting either NVIDIA or Mesa extensions.
 
-## Nix on GNU/Linux
+## Nix on GNU/Linux {#nix-on-gnulinux}
 
 If you are using a non-NixOS GNU/Linux/X11 desktop with free software video drivers, consider launching OpenGL-dependent programs from Nixpkgs with Nixpkgs versions of `libglvnd` and `mesa.drivers` in `LD_LIBRARY_PATH`. For Mesa drivers, the Linux kernel version doesn't have to match nixpkgs.