mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
mesa: fix 'misalgned' typos in error messages
Trivial.
This commit is contained in:
parent
14379a0644
commit
4676c6c25b
1 changed files with 2 additions and 2 deletions
|
|
@ -2710,7 +2710,7 @@ bind_buffer_range_uniform_buffer(struct gl_context *ctx,
|
|||
|
||||
if (offset & (ctx->Const.UniformBufferOffsetAlignment - 1)) {
|
||||
_mesa_error(ctx, GL_INVALID_VALUE,
|
||||
"glBindBufferRange(offset misalgned %d/%d)", (int) offset,
|
||||
"glBindBufferRange(offset misaligned %d/%d)", (int) offset,
|
||||
ctx->Const.UniformBufferOffsetAlignment);
|
||||
return;
|
||||
}
|
||||
|
|
@ -2797,7 +2797,7 @@ bind_atomic_buffer(struct gl_context *ctx,
|
|||
|
||||
if (offset & (ATOMIC_COUNTER_SIZE - 1)) {
|
||||
_mesa_error(ctx, GL_INVALID_VALUE,
|
||||
"%s(offset misalgned %d/%d)", name, (int) offset,
|
||||
"%s(offset misaligned %d/%d)", name, (int) offset,
|
||||
ATOMIC_COUNTER_SIZE);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue