mirror of https://gitlab.freedesktop.org/mesa/mesa
mesa/draw: fix -Wformat warning
fixes:5791826b
cc @pepp @mareko Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22605> (cherry picked from commita1098a1e45
)
This commit is contained in:
parent
cec5bf6040
commit
49eb067746
|
@ -463,7 +463,7 @@
|
|||
"description": "mesa/draw: fix -Wformat warning",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "5791826b1ac7085c8acf056abc279e66ca64eb55"
|
||||
},
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue