summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-07-18 14:36:18 +0200
committerSamuel Pitoiset <[email protected]>2017-07-31 13:53:39 +0200
commitbc38214d76cea8f0e67aa90ac41014ac2973154e (patch)
treea0fec64c45ab41660e46d3db0fe7deef0c4a8fbd
parent8ca88da368c55252c18e50b6e4789561f9fb5ebd (diff)
mesa: rename texturestorage() to texturestorage_error()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
-rw-r--r--src/mesa/main/texstorage.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mesa/main/texstorage.c b/src/mesa/main/texstorage.c
index ede3159f058..0117ab6c81d 100644
--- a/src/mesa/main/texstorage.c
+++ b/src/mesa/main/texstorage.c
@@ -560,9 +560,9 @@ texstorage_no_error(GLuint dims, GLenum target, GLsizei levels,
* Helper used by _mesa_TextureStorage1/2/3D().
*/
static void
-texturestorage(GLuint dims, GLuint texture, GLsizei levels,
- GLenum internalformat, GLsizei width, GLsizei height,
- GLsizei depth, const char *caller)
+texturestorage_error(GLuint dims, GLuint texture, GLsizei levels,
+ GLenum internalformat, GLsizei width, GLsizei height,
+ GLsizei depth, const char *caller)
{
struct gl_texture_object *texObj;
GET_CURRENT_CONTEXT(ctx);
@@ -657,8 +657,8 @@ void GLAPIENTRY
_mesa_TextureStorage1D(GLuint texture, GLsizei levels, GLenum internalformat,
GLsizei width)
{
- texturestorage(1, texture, levels, internalformat, width, 1, 1,
- "glTextureStorage1D");
+ texturestorage_error(1, texture, levels, internalformat, width, 1, 1,
+ "glTextureStorage1D");
}
@@ -667,8 +667,8 @@ _mesa_TextureStorage2D(GLuint texture, GLsizei levels,
GLenum internalformat,
GLsizei width, GLsizei height)
{
- texturestorage(2, texture, levels, internalformat, width, height, 1,
- "glTextureStorage2D");
+ texturestorage_error(2, texture, levels, internalformat, width, height, 1,
+ "glTextureStorage2D");
}
@@ -676,8 +676,8 @@ void GLAPIENTRY
_mesa_TextureStorage3D(GLuint texture, GLsizei levels, GLenum internalformat,
GLsizei width, GLsizei height, GLsizei depth)
{
- texturestorage(3, texture, levels, internalformat, width, height, depth,
- "glTextureStorage3D");
+ texturestorage_error(3, texture, levels, internalformat, width, height, depth,
+ "glTextureStorage3D");
}