mesa/draw: fix -Wformat warning
fixes: 5791826b
cc @pepp @mareko
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22605>
This commit is contained in:
@@ -1642,7 +1642,7 @@ _mesa_validated_drawrangeelements(struct gl_context *ctx,
|
||||
_mesa_warning(ctx, "Invalid indices offset 0x%" PRIxPTR
|
||||
" (indices buffer size is %ld bytes)"
|
||||
" or unallocated buffer (%u). Draw skipped.",
|
||||
start, index_bo->Size, !!index_bo->buffer);
|
||||
start, (long)index_bo->Size, !!index_bo->buffer);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user