mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
fix: mesa: unused variable ‘ret’ [-Wunused-variable]
Only used in debug builds. Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Reviewed-by: Mihai Preda <mhpreda@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18643>
This commit is contained in:
parent
06504254ce
commit
a3c9c42549
1 changed files with 1 additions and 1 deletions
|
|
@ -2391,7 +2391,7 @@ texture_page_commitment(struct gl_context *ctx, GLenum target,
|
|||
}
|
||||
|
||||
int px, py, pz;
|
||||
bool ret = st_GetSparseTextureVirtualPageSize(
|
||||
ASSERTED bool ret = st_GetSparseTextureVirtualPageSize(
|
||||
ctx, target, image->TexFormat, tex_obj->VirtualPageSizeIndex, &px, &py, &pz);
|
||||
assert(ret);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue