tests/wayland: Update documentation for MUTTER_REF_TEST_UPDATE

For some reason `LIBGL_ALWAYS_SOFTWARE=1` does not work as intended
while `MESA_LOADER_DRIVER_OVERRIDE=swrast` does.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1055>
This commit is contained in:
Robert Mader 2022-05-23 13:55:49 +02:00 committed by Marge Bot
parent fd7ee33337
commit 27dbf77d19

View File

@ -56,13 +56,13 @@
* existing reference image is pixel identical to the newly created one. * existing reference image is pixel identical to the newly created one.
* *
* Updating test reference images also requires using a software OpenGL * Updating test reference images also requires using a software OpenGL
* renderer, which can be achieved using LIBGL_ALWAYS_SOFTWARE=1 * renderer, which can be achieved using MESA_LOADER_DRIVER_OVERRIDE=swrast
* *
* For example, for the test case '/path/to/test/case', run the test * For example, for the test case '/path/to/test/case', run the test
* inside * inside
* *
* ``` * ```
* env LIBGL_ALWAYS_SOFTWARE=1 MUTTER_REF_TEST_UPDATE='/path/to/test/case` * env MESA_LOADER_DRIVER_OVERRIDE=swrast MUTTER_REF_TEST_UPDATE='/path/to/test/case`
* ``` * ```
* *
*/ */