aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-06-26 13:46:19 +0200
committerSamuel Pitoiset <[email protected]>2017-06-28 10:25:12 +0200
commit821b806d23786f7eb7f63ce83ceb3f0d7b7ee4aa (patch)
tree38a60f82b4536a849299e06408f135c295b980ea /src/mesa/main/texobj.c
parent7c02267673e553d75a1d13c69471b0b794239b9e (diff)
mesa: fix an error message in create_textures()
Trivial. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r--src/mesa/main/texobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 30d3c961e6e..0fcf5839689 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -1220,7 +1220,7 @@ create_textures(struct gl_context *ctx, GLenum target,
texObj = ctx->Driver.NewTextureObject(ctx, name, target);
if (!texObj) {
_mesa_HashUnlockMutex(ctx->Shared->TexObjects);
- _mesa_error(ctx, GL_OUT_OF_MEMORY, "gl%sTextures", caller);
+ _mesa_error(ctx, GL_OUT_OF_MEMORY, "%s", caller);
return;
}