summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/fbobject.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-09-02 16:03:32 -0700
committerVinson Lee <[email protected]>2010-09-02 16:03:32 -0700
commitc5dde53f4e42612518cd927bb58f08c0e22db17a (patch)
tree5ba8615acf5b4b4f286d00bf182f8d4b994671b8 /src/mesa/main/fbobject.c
parentf8d11b2e8ebaab2845080900ff4a2068f9a20b5f (diff)
mesa: Fix printf-like warnings.
Diffstat (limited to 'src/mesa/main/fbobject.c')
-rw-r--r--src/mesa/main/fbobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index f80dd859936..defdebbdefa 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -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;
}