mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-19 10:00:37 +01:00
fix: mesa/st: unused variable ‘src’ [-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
6771b89075
commit
0d46e6803c
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ copy_to_staging_dest(struct gl_context * ctx, struct pipe_resource *dst,
|
|||
struct st_context *st = st_context(ctx);
|
||||
struct pipe_context *pipe = st->pipe;
|
||||
struct gl_texture_object *stObj = texImage->TexObject;
|
||||
struct pipe_resource *src = stObj->pt;
|
||||
ASSERTED struct pipe_resource *src = stObj->pt;
|
||||
enum pipe_format dst_format = dst->format;
|
||||
mesa_format mesa_format;
|
||||
GLenum gl_target = texImage->TexObject->Target;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue