projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
579297c
)
main: Correct _mesa_error with no format in bufferobj.c.
author
Laura Ekstrand
<laura@jlekstrand.net>
Tue, 17 Mar 2015 20:27:31 +0000
(13:27 -0700)
committer
Laura Ekstrand
<laura@jlekstrand.net>
Tue, 17 Mar 2015 20:30:54 +0000
(13:30 -0700)
This fixes Bug 89616, a build failure due to line 1639 of bufferobj.c:
_mesa_error(ctx, GL_INVALID_OPERATION, func);
Trivial.
src/mesa/main/bufferobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/bufferobj.c
b/src/mesa/main/bufferobj.c
index 7d2e5f89320bc86073e394ead395539347ffe978..78d3d78a0b5eab7a5f46bd018afebe3563eae309 100644
(file)
--- 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;
}