docs: use tables instead of pre-formatted text

This makes this easier to read.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281>
This commit is contained in:
Erik Faye-Lund
2021-04-15 15:32:26 +02:00
committed by Marge Bot
parent 1e4e22e6ba
commit 525f7b6a23
3 changed files with 44 additions and 29 deletions

View File

@@ -200,8 +200,15 @@ This extension was added in Mesa 2.6
Summary of X-related environment variables
------------------------------------------
::
MESA_RGB_VISUAL - specifies the X visual and depth for RGB mode (X only)
MESA_BACK_BUFFER - specifies how to implement the back color buffer (X only)
MESA_GAMMA - gamma correction coefficients (X only)
+-----------------------------+--------------------------------------+
| Environment variable | Description |
+=============================+======================================+
| :envvar:`MESA_RGB_VISUAL` | specifies the X visual and depth for |
| | RGB mode (X only) |
+-----------------------------+--------------------------------------+
| :envvar:`MESA_BACK_BUFFER` | specifies how to implement the back |
| | color buffer (X only) |
+-----------------------------+--------------------------------------+
| :envvar:`MESA_GAMMA` | gamma correction coefficients |
| | (X only) |
+-----------------------------+--------------------------------------+