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:
committed by
Marge Bot
parent
6771b89075
commit
0d46e6803c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user