diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2021-04-15 15:39:10 +0200 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-04-26 08:39:02 +0000 |
commit | 54ad6f91c6875ead25d7a1f743a8a5e35081fa60 (patch) | |
tree | 67d0213ec021b1188b9f0598b4b2d33ceec4fb79 /docs/xlibdriver.rst | |
parent | e6e002fc34b744d15fbb5135b64eb6d8e2a54388 (diff) | |
download | mesa-54ad6f91c6875ead25d7a1f743a8a5e35081fa60.tar.gz |
docs: use code-block for console-content
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281>
Diffstat (limited to 'docs/xlibdriver.rst')
-rw-r--r-- | docs/xlibdriver.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/xlibdriver.rst b/docs/xlibdriver.rst index 099cba21684..e07aed6c843 100644 --- a/docs/xlibdriver.rst +++ b/docs/xlibdriver.rst @@ -94,10 +94,10 @@ gamma value and G is one gamma value to use for all three channels. Each value is a positive real number typically in the range 1.0 to 2.5. The defaults are all 1.0, effectively disabling gamma correction. Examples: -:: +.. code-block:: console - % export MESA_GAMMA="2.3 2.2 2.4" // separate R,G,B values - % export MESA_GAMMA="2.0" // same gamma for R,G,B + % export MESA_GAMMA="2.3 2.2 2.4" # separate R,G,B values + % export MESA_GAMMA="2.0" # same gamma for R,G,B The ``demos/gamma.c`` program in mesa/demos repository may help you to determine reasonable gamma value for your display. With correct gamma @@ -124,7 +124,7 @@ Hardware overlay planes are supported by the Xlib driver. To determine if your X server has overlay support you can test for the SERVER_OVERLAY_VISUALS property: -:: +.. code-block:: console xprop -root | grep SERVER_OVERLAY_VISUALS |