Bläddra i källkod

mesa: use format string in _mesa_error() call to silence warning

tags/mesa-8.0-rc1
Brian Paul 14 år sedan
förälder
incheckning
5485192fc8
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/mesa/main/dlist.c

+ 1
- 1
src/mesa/main/dlist.c Visa fil

@@ -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);

Laddar…
Avbryt
Spara