From: Brian Paul Date: Tue, 16 Oct 2012 23:54:37 +0000 (-0600) Subject: svga: fix MSVC double/float parameter warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce3faa993cca7ac6d9bf29f70a9e8e9b7db3dde7;p=mesa.git svga: fix MSVC double/float parameter warning --- diff --git a/src/gallium/drivers/svga/svga_pipe_clear.c b/src/gallium/drivers/svga/svga_pipe_clear.c index d2fcdd39868..47f62583026 100644 --- a/src/gallium/drivers/svga/svga_pipe_clear.c +++ b/src/gallium/drivers/svga/svga_pipe_clear.c @@ -86,7 +86,7 @@ try_clear(struct svga_context *svga, return ret; } - ret = SVGA3D_ClearRect(svga->swc, flags, uc.ui, depth, stencil, + ret = SVGA3D_ClearRect(svga->swc, flags, uc.ui, (float) depth, stencil, rect.x, rect.y, rect.w, rect.h); if (ret != PIPE_OK) return ret;