mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
st/mesa: silence warning
This commit is contained in:
parent
0ad9eba333
commit
a7427b0f7b
1 changed files with 2 additions and 1 deletions
|
|
@ -1047,7 +1047,8 @@ st_TexSubimage(GLcontext *ctx, GLint dims, GLenum target, GLint level,
|
|||
_mesa_image_image_stride(packing, width, height, format, type);
|
||||
GLint i;
|
||||
const GLubyte *src;
|
||||
enum pipe_transfer_usage transfer_usage;
|
||||
/* init to silence warning only: */
|
||||
enum pipe_transfer_usage transfer_usage = PIPE_TRANSFER_WRITE;
|
||||
|
||||
DBG("%s target %s level %d offset %d,%d %dx%d\n", __FUNCTION__,
|
||||
_mesa_lookup_enum_by_nr(target),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue