--- xddm/display/driver.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/xddm/display/driver.c b/xddm/display/driver.c index aa4fe42..5a3dbfa 100644 --- a/xddm/display/driver.c +++ b/xddm/display/driver.c @@ -1252,20 +1252,6 @@ char *BitmapTypeToStr(int type) #include "utils.h" #include "res.h" -FIX FlotaToFixed(FLOATL val, FLOATL scale) -{ - FLOATOBJ float_obj; - FIX ret; - - FLOATOBJ_SetFloat(&float_obj, val); - FLOATOBJ_MulFloat(&float_obj, scale); - - ret = FLOATOBJ_GetLong(&float_obj) << 4; - FLOATOBJ_MulLong(&float_obj, 16); - ret |= (0x0f & FLOATOBJ_GetLong(&float_obj)); - return ret; -} - static BOOL GetCosmeticAttr(PDev *pdev, QXLDrawable *drawable, QXLLineAttr *q_line_attr, LINEATTRS *line_attr) { -- 1.9.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel