svga: fix MSVC double/float parameter warning
This commit is contained in:
parent
d21e6c87c0
commit
ce3faa993c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue