summaryrefslogtreecommitdiff
path: root/src/mesa/main/formats.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-10-26 20:30:40 -0600
committerBrian Paul <brianp@vmware.com>2010-10-26 20:30:42 -0600
commit412b9608838b872bc294569b3ee913343a7e66f6 (patch)
treeb73e1298101d5df0478e1568153246e6b74ab6ce /src/mesa/main/formats.c
parentab50148fdafeb6496b4ab684e5b9a2355ccf542c (diff)
mesa: rename function to _mesa_is_format_integer_color()
Be a bit more clear about its operation.
Diffstat (limited to 'src/mesa/main/formats.c')
-rw-r--r--src/mesa/main/formats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c
index f604e23513..e18a9fc997 100644
--- a/src/mesa/main/formats.c
+++ b/src/mesa/main/formats.c
@@ -1011,7 +1011,7 @@ _mesa_is_format_packed_depth_stencil(gl_format format)
* Is the given format a signed/unsigned integer color format?
*/
GLboolean
-_mesa_is_format_integer(gl_format format)
+_mesa_is_format_integer_color(gl_format format)
{
const struct gl_format_info *info = _mesa_get_format_info(format);
return (info->DataType == GL_INT || info->DataType == GL_UNSIGNED_INT) &&