diff options
author | Brian Paul <brianp@vmware.com> | 2011-10-18 18:59:13 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-10-18 19:00:07 -0600 |
commit | 5485192fc81ab40ffdbfb1c74346d887c3c03231 (patch) | |
tree | 83750d0d8d8b2244c9344da77e42fa9c5db9d05b /src/mesa/main | |
parent | 973b4ddd0e2f25cfd72cb945fbd38aed629a6fed (diff) | |
download | external_mesa3d-5485192fc81ab40ffdbfb1c74346d887c3c03231.zip external_mesa3d-5485192fc81ab40ffdbfb1c74346d887c3c03231.tar.gz external_mesa3d-5485192fc81ab40ffdbfb1c74346d887c3c03231.tar.bz2 |
mesa: use format string in _mesa_error() call to silence warning
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/dlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 567629d..ceb75c4 100644 --- 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); |