svga: fix MSVC double/float parameter warning

This commit is contained in:
Brian Paul 2012-10-16 17:54:37 -06:00
parent d21e6c87c0
commit ce3faa993c
1 changed files with 1 additions and 1 deletions

View File

@ -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;