From: Brian Paul Date: Tue, 1 Dec 2015 21:35:14 +0000 (-0700) Subject: mesa: print enum string in compressed_subtexture_error_check() error msg X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d31065cbf61f0a510c5563263820a8f0a1100ec7;p=mesa.git mesa: print enum string in compressed_subtexture_error_check() error msg Trivial. --- diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 37dbe267e68..d5fe03485c2 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -4303,8 +4303,8 @@ compressed_subtexture_error_check(struct gl_context *ctx, GLint dims, if ((GLint) format != texImage->InternalFormat) { _mesa_error(ctx, GL_INVALID_OPERATION, - "%s(format=0x%x)", - callerName, format); + "%s(format=%s)", + callerName, _mesa_enum_to_string(format)); return GL_TRUE; }