mesa: Fix printf-like warnings.

This commit is contained in:
Vinson Lee
2010-09-02 16:03:32 -07:00
parent f8d11b2e8e
commit c5dde53f4e
6 changed files with 16 additions and 16 deletions

View File

@@ -1022,7 +1022,7 @@ renderbuffer_storage(GLenum target, GLenum internalFormat,
rb = ctx->CurrentRenderbuffer;
if (!rb) {
_mesa_error(ctx, GL_INVALID_OPERATION, func);
_mesa_error(ctx, GL_INVALID_OPERATION, "%s", func);
return;
}