glx: rename choose_visual(), drop const argument
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 30 Sep 2016 10:01:28 +0000 (11:01 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 6 Oct 2016 14:03:47 +0000 (15:03 +0100)
commit78a7415f0be53eb06c5f226ded82995c4cd01c41
tree8fa59cecdd7a23f5c7d2cfc580f59e2c254809c6
parent2e9e05dfca18c7f09caa40396d6dd4f2b3ddc1d4
glx: rename choose_visual(), drop const argument

The function deals with fb (style) configs, thus using "visual"
in the name is misleading. Which in itself had led to the use of
fbconfig_style_tags argument.

Rename the function to reflect what it does and drop the unneeded
argument.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/glxcmds.c