mesa: fix comment indentation in bind_buffers_check_offset_and_size()
Trivial.
This commit is contained in:
parent
db45f1eaab
commit
f9052536c9
|
@ -3075,11 +3075,11 @@ bind_buffers_check_offset_and_size(struct gl_context *ctx,
|
||||||
const GLsizeiptr *sizes)
|
const GLsizeiptr *sizes)
|
||||||
{
|
{
|
||||||
if (offsets[index] < 0) {
|
if (offsets[index] < 0) {
|
||||||
/* The ARB_multi_bind spec says:
|
/* The ARB_multi_bind spec says:
|
||||||
*
|
*
|
||||||
* "An INVALID_VALUE error is generated by BindBuffersRange if any
|
* "An INVALID_VALUE error is generated by BindBuffersRange if any
|
||||||
* value in <offsets> is less than zero (per binding)."
|
* value in <offsets> is less than zero (per binding)."
|
||||||
*/
|
*/
|
||||||
_mesa_error(ctx, GL_INVALID_VALUE,
|
_mesa_error(ctx, GL_INVALID_VALUE,
|
||||||
"glBindBuffersRange(offsets[%u]=%" PRId64 " < 0)",
|
"glBindBuffersRange(offsets[%u]=%" PRId64 " < 0)",
|
||||||
index, (int64_t) offsets[index]);
|
index, (int64_t) offsets[index]);
|
||||||
|
@ -3087,11 +3087,11 @@ bind_buffers_check_offset_and_size(struct gl_context *ctx,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sizes[index] <= 0) {
|
if (sizes[index] <= 0) {
|
||||||
/* The ARB_multi_bind spec says:
|
/* The ARB_multi_bind spec says:
|
||||||
*
|
*
|
||||||
* "An INVALID_VALUE error is generated by BindBuffersRange if any
|
* "An INVALID_VALUE error is generated by BindBuffersRange if any
|
||||||
* value in <sizes> is less than or equal to zero (per binding)."
|
* value in <sizes> is less than or equal to zero (per binding)."
|
||||||
*/
|
*/
|
||||||
_mesa_error(ctx, GL_INVALID_VALUE,
|
_mesa_error(ctx, GL_INVALID_VALUE,
|
||||||
"glBindBuffersRange(sizes[%u]=%" PRId64 " <= 0)",
|
"glBindBuffersRange(sizes[%u]=%" PRId64 " <= 0)",
|
||||||
index, (int64_t) sizes[index]);
|
index, (int64_t) sizes[index]);
|
||||||
|
|
Loading…
Reference in New Issue