From: Emil Velikov Date: Thu, 26 Jan 2017 13:18:38 +0000 (+0000) Subject: svga: remove const qualifier from SVGA3D_vgpu10_GenMips() prototype X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be3b5e015c5cdbe28ab366b18f35a49690960353;p=mesa.git svga: remove const qualifier from SVGA3D_vgpu10_GenMips() prototype Does not match the function definition or how it's used. Triggers the following warning in AppVeyor svga_cmd_vgpu10.c(1301) : warning C4028: formal parameter 2 different from declaration Cc: Charmaine Lee Signed-off-by: Emil Velikov --- diff --git a/src/gallium/drivers/svga/svga_cmd.h b/src/gallium/drivers/svga/svga_cmd.h index cd2cb6509ea..ab4df5047ed 100644 --- a/src/gallium/drivers/svga/svga_cmd.h +++ b/src/gallium/drivers/svga/svga_cmd.h @@ -664,7 +664,7 @@ SVGA3D_vgpu10_UpdateSubResource(struct svga_winsys_context *swc, enum pipe_error SVGA3D_vgpu10_GenMips(struct svga_winsys_context *swc, - const SVGA3dShaderResourceViewId shaderResourceViewId, + SVGA3dShaderResourceViewId shaderResourceViewId, struct svga_winsys_surface *view); enum pipe_error