[Spice-devel] [PATCH 04/12] display\driver.c: remove unused FlotaToFixed
Marc-André Lureau
mlureau at redhat.com
Wed Apr 30 09:29:21 PDT 2014
trivial, ack
----- Original Message -----
> ---
> 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
More information about the Spice-devel
mailing list