kwo pushed a commit to branch master.

http://git.enlightenment.org/legacy/imlib2.git/commit/?id=854fca339565a7e07031610d98866218496f22d1

commit 854fca339565a7e07031610d98866218496f22d1
Author: Kim Woelders <k...@woelders.dk>
Date:   Fri Dec 15 18:40:20 2017 +0100

    Remove redundant CAST_IMAGE()
---
 src/lib/api.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/api.c b/src/lib/api.c
index 5e7a121..49b865d 100644
--- a/src/lib/api.c
+++ b/src/lib/api.c
@@ -4870,7 +4870,6 @@ imlib_render_image_on_drawable_skewed(int source_x, int 
source_y,
    CAST_IMAGE(im, ctx->image);
    if (__imlib_LoadImageData(im))
       return;
-   CAST_IMAGE(im, ctx->image);
    __imlib_RenderImageSkewed(ctx->display, im, ctx->drawable, ctx->mask,
                              ctx->visual, ctx->colormap, ctx->depth, source_x,
                              source_y, source_width, source_height,
@@ -4909,7 +4908,6 @@ imlib_render_image_on_drawable_at_angle(int source_x, int 
source_y,
    CAST_IMAGE(im, ctx->image);
    if (__imlib_LoadImageData(im))
       return;
-   CAST_IMAGE(im, ctx->image);
    __imlib_RenderImageSkewed(ctx->display, im, ctx->drawable, ctx->mask,
                              ctx->visual, ctx->colormap, ctx->depth, source_x,
                              source_y, source_width, source_height,

-- 


Reply via email to