diff options
author | Brian Paul <[email protected]> | 2015-12-01 14:35:14 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-12-02 10:28:15 -0700 |
commit | d31065cbf61f0a510c5563263820a8f0a1100ec7 (patch) | |
tree | 7771d8a233835f24ee7b7e40952f14e01d358b93 /src/mesa/main | |
parent | 772f429f0a7fc8ee0454a6480f7f71a3c45df4de (diff) |
mesa: print enum string in compressed_subtexture_error_check() error msg
Trivial.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/teximage.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |