aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-01-26 13:18:38 +0000
committerEmil Velikov <[email protected]>2017-01-27 17:56:56 +0000
commitbe3b5e015c5cdbe28ab366b18f35a49690960353 (patch)
tree1d689abb5a1250cf703f733b04e1db6541387d74 /src/gallium
parentcf00cc72e923f9e4aba35738317d812d5e32318a (diff)
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 <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/svga/svga_cmd.h2
1 files changed, 1 insertions, 1 deletions
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