projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3aa6a5
)
mesa: minor fix to glTexSubImage error message
author
Brian Paul
<brianp@vmware.com>
Sat, 22 Sep 2012 15:30:24 +0000
(09:30 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 26 Sep 2012 13:43:49 +0000
(07:43 -0600)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 501d33d747a48edf09fda0f100124320f3882509..e4bee287f0a0230b36189621ccb7428faf683f73 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-2204,7
+2204,8
@@
texsubimage_error_check(struct gl_context *ctx, GLuint dimensions,
/* level check */
if (level < 0 || level >= _mesa_max_texture_levels(ctx, target)) {
- _mesa_error(ctx, GL_INVALID_ENUM, "glTexSubImage2D(level=%d)", level);
+ _mesa_error(ctx, GL_INVALID_ENUM, "glTexSubImage%uD(level=%d)",
+ dimensions, level);
return GL_TRUE;
}