summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-06-26 13:46:19 +0200
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-06-28 10:25:12 +0200
commit821b806d23786f7eb7f63ce83ceb3f0d7b7ee4aa (patch)
tree38a60f82b4536a849299e06408f135c295b980ea /src/mesa
parent7c02267673e553d75a1d13c69471b0b794239b9e (diff)
mesa: fix an error message in create_textures()
Trivial. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Diffstat (limited to 'src/mesa')
-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;
}