From: Samuel Pitoiset Date: Mon, 26 Jun 2017 11:46:19 +0000 (+0200) Subject: mesa: fix an error message in create_textures() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=821b806d23786f7eb7f63ce83ceb3f0d7b7ee4aa;p=mesa.git mesa: fix an error message in create_textures() Trivial. Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- 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; }