diff options
author | Brian Paul <brianp@vmware.com> | 2014-04-23 09:55:25 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2014-04-24 08:16:01 -0600 |
commit | 5e81e6e268a4bdfa0017f9e340101c1d5696aea3 (patch) | |
tree | 0c7e34871031370802f1afebee20b7cb6086a138 | |
parent | 7cc2e2e99d857617178ce01f52ae2a9b04da3275 (diff) | |
download | external_mesa3d-5e81e6e268a4bdfa0017f9e340101c1d5696aea3.zip external_mesa3d-5e81e6e268a4bdfa0017f9e340101c1d5696aea3.tar.gz external_mesa3d-5e81e6e268a4bdfa0017f9e340101c1d5696aea3.tar.bz2 |
swrast: remove _mesa_ prefix from static function
And add a const qualifier.
Reviewed-by: José Fonseca <jfonseca@vmware.com>
-rw-r--r-- | src/mesa/swrast/s_texture.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_texture.c b/src/mesa/swrast/s_texture.c index 1d449a2..cbfa26b 100644 --- a/src/mesa/swrast/s_texture.c +++ b/src/mesa/swrast/s_texture.c @@ -177,8 +177,8 @@ _swrast_free_texture_image_buffer(struct gl_context *ctx, * Error checking for debugging only. */ static void -_mesa_check_map_teximage(struct gl_texture_image *texImage, - GLuint slice, GLuint x, GLuint y, GLuint w, GLuint h) +check_map_teximage(const struct gl_texture_image *texImage, + GLuint slice, GLuint x, GLuint y, GLuint w, GLuint h) { if (texImage->TexObject->Target == GL_TEXTURE_1D) @@ -216,7 +216,7 @@ _swrast_map_teximage(struct gl_context *ctx, GLint stride, texelSize; GLuint bw, bh; - _mesa_check_map_teximage(texImage, slice, x, y, w, h); + check_map_teximage(texImage, slice, x, y, w, h); texelSize = _mesa_get_format_bytes(texImage->TexFormat); stride = _mesa_format_row_stride(texImage->TexFormat, texImage->Width); |