egl+glx: turn LIBGL_DRI3_DISABLE into a boolean
authorEric Engestrom <eric.engestrom@imgtec.com>
Fri, 8 Sep 2017 10:55:14 +0000 (11:55 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 12 Sep 2017 12:53:12 +0000 (13:53 +0100)
commit14e431b270331ee8c6d638729b4b8e8703f8e52e
treebaec82d4f427818534d51905f1a9cca4ec60fae6
parent177fd320d6fdccad09397fc54a1cefc94e1c4de0
egl+glx: turn LIBGL_DRI3_DISABLE into a boolean

Instead of setting based on set/unset, allow users to use boolean values.
In the docs, use `DISABLE=true` instead of `DISABLE=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
src/egl/drivers/dri2/platform_x11.c
src/glx/glxext.c