glx: turn LIBGL_ALLOW_SOFTWARE into a boolean
authorEric Engestrom <eric.engestrom@imgtec.com>
Fri, 8 Sep 2017 10:46:25 +0000 (11:46 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 12 Sep 2017 12:53:11 +0000 (13:53 +0100)
commit43e2d58698f76b96b36ff3cb2eba1713ff3a3125
tree651ca935a2f192a61bad5140728e6ead2c971488
parent5c68ea29f31283768c8e1b631eb812d1e74cb5c3
glx: turn LIBGL_ALLOW_SOFTWARE into a boolean

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

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/glx/apple/apple_visual.c