projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
973b4dd
)
mesa: use format string in _mesa_error() call to silence warning
author
Brian Paul
<brianp@vmware.com>
Wed, 19 Oct 2011 00:59:13 +0000
(18:59 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 19 Oct 2011 01:00:07 +0000
(19:00 -0600)
src/mesa/main/dlist.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/dlist.c
b/src/mesa/main/dlist.c
index
567629d
..
ceb75c4
100644
(file)
--- a/
src/mesa/main/dlist.c
+++ b/
src/mesa/main/dlist.c
@@
-4519,7
+4519,7
@@
static GLvoid *copy_data(const GLvoid *data, GLsizei size, const char *func)
image = malloc(size);
if (!image) {
- _mesa_error(ctx, GL_OUT_OF_MEMORY, func);
+ _mesa_error(ctx, GL_OUT_OF_MEMORY,
"%s",
func);
return NULL;
}
memcpy(image, data, size);