From ce3faa993cca7ac6d9bf29f70a9e8e9b7db3dde7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 16 Oct 2012 17:54:37 -0600 Subject: [PATCH] svga: fix MSVC double/float parameter warning --- src/gallium/drivers/svga/svga_pipe_clear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2