summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-10-16 17:54:37 -0600
committerBrian Paul <[email protected]>2012-10-16 17:55:39 -0600
commitce3faa993cca7ac6d9bf29f70a9e8e9b7db3dde7 (patch)
tree59bf0951181ca904890e5fd7b1a2139c294339a8 /src/gallium/drivers/svga
parentd21e6c87c026015e395ee0f2b18ba4041c6773d6 (diff)
svga: fix MSVC double/float parameter warning
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r--src/gallium/drivers/svga/svga_pipe_clear.c2
1 files changed, 1 insertions, 1 deletions
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;