mesa/main: rename format-check function
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 16 Nov 2018 09:58:12 +0000 (10:58 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 3 Dec 2018 17:16:44 +0000 (18:16 +0100)
commite8b331ae1337cfbfe7889cf03405c8943f486a3c
treeeb3de9bb90741e814131708538b05b5676f3ee95
parentca8e2a5277aadd587fe7b26941eba8b3bbefe390
mesa/main: rename format-check function

_mesa_es3_error_check_format_and_type isn't specific to OpenGL ES 3.x,
it applies to all versions of OpenGL ES. So let's rename it to reflect
this.

While we're at it, let's also rename a helper function it uses similarly.
As the helper is static, we can also remove the namespacing-prefix from
the name.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/glformats.c
src/mesa/main/glformats.h
src/mesa/main/teximage.c