[Mesa-dev] [PATCH 3/8] svga: remove const qualifier from SVGA3D_vgpu10_GenMips() prototype
Emil Velikov
emil.l.velikov at gmail.com
Thu Jan 26 13:18:38 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
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 <charmainel at vmware.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
src/gallium/drivers/svga/svga_cmd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/svga/svga_cmd.h b/src/gallium/drivers/svga/svga_cmd.h
index cd2cb6509e..ab4df5047e 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
--
2.11.0
More information about the mesa-dev
mailing list