glx: turn LIBGL_ALWAYS_INDIRECT into a boolean
authorEric Engestrom <eric.engestrom@imgtec.com>
Fri, 8 Sep 2017 10:53:47 +0000 (11:53 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 12 Sep 2017 12:53:12 +0000 (13:53 +0100)
commit177fd320d6fdccad09397fc54a1cefc94e1c4de0
tree5bb53824e565cf0c6c3b4a461c7b28a7cf46ebac
parent43e2d58698f76b96b36ff3cb2eba1713ff3a3125
glx: turn LIBGL_ALWAYS_INDIRECT into a boolean

Instead of setting based on set/unset, allow users to use boolean values.
In the docs, use `ALWAYS=true` instead of `ALWAYS=1` as it's clearer IMO.

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
docs/envvars.html
docs/libGL.txt
src/glx/glxext.c