diff options
author | Laura Ekstrand <[email protected]> | 2015-03-17 13:27:31 -0700 |
---|---|---|
committer | Laura Ekstrand <[email protected]> | 2015-03-17 13:30:54 -0700 |
commit | 827da841a1b3dbd4252c39be99965710c5085f5a (patch) | |
tree | a37dbcd402c49e1baa728cfce5c04b06e0d0d15d /src/mesa/main/bufferobj.c | |
parent | 579297c8bdffd92f47a8cc02100b9535822d2ae7 (diff) |
main: Correct _mesa_error with no format in bufferobj.c.
This fixes Bug 89616, a build failure due to line 1639 of bufferobj.c:
_mesa_error(ctx, GL_INVALID_OPERATION, func);
Trivial.
Diffstat (limited to 'src/mesa/main/bufferobj.c')
-rw-r--r-- | src/mesa/main/bufferobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 7d2e5f89320..78d3d78a0b5 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -1636,7 +1636,7 @@ _mesa_buffer_sub_data(struct gl_context *ctx, struct gl_buffer_object *bufObj, if (bufObj->Immutable && !(bufObj->StorageFlags & GL_DYNAMIC_STORAGE_BIT)) { - _mesa_error(ctx, GL_INVALID_OPERATION, func); + _mesa_error(ctx, GL_INVALID_OPERATION, "%s", func); return; } |