From d31065cbf61f0a510c5563263820a8f0a1100ec7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 1 Dec 2015 14:35:14 -0700 Subject: [PATCH] mesa: print enum string in compressed_subtexture_error_check() error msg Trivial. --- src/mesa/main/teximage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 37dbe26..d5fe034 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; } -- 2.7.4