mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
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.
This commit is contained in:
parent
579297c8bd
commit
827da841a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue