summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_generic/evas_engine.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-10-13 20:33:57 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-10-14 11:14:36 +0900
commit7b266b55188ebac499d70ffceb3b8c802bcdfbd0 (patch)
tree272a0d4663c2986978820879cc5f1f5d4847c411 /src/modules/evas/engines/software_generic/evas_engine.c
parent51e0bc022b33e2a6fac187ac72365c353ed3a520 (diff)
Evas render: Fix proxy source_clip logic inversion
As spotted by @FurryMyad I inverted the logic for source_clip. This should restore the proper behaviour while keeping my previous fixes working. See D2940.
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/software_generic/evas_engine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/evas/engines/software_generic/evas_engine.c b/src/modules/evas/engines/software_generic/evas_engine.c
index 5c860aec83..3bde9014b7 100644
--- a/src/modules/evas/engines/software_generic/evas_engine.c
+++ b/src/modules/evas/engines/software_generic/evas_engine.c
@@ -579,10 +579,10 @@ eng_context_clip_unset(void *data EINA_UNUSED, void *context)
579static int 579static int
580eng_context_clip_get(void *data EINA_UNUSED, void *context, int *x, int *y, int *w, int *h) 580eng_context_clip_get(void *data EINA_UNUSED, void *context, int *x, int *y, int *w, int *h)
581{ 581{
582 *x = ((RGBA_Draw_Context *)context)->clip.x; 582 if (x) *x = ((RGBA_Draw_Context *)context)->clip.x;
583 *y = ((RGBA_Draw_Context *)context)->clip.y; 583 if (y) *y = ((RGBA_Draw_Context *)context)->clip.y;
584 *w = ((RGBA_Draw_Context *)context)->clip.w; 584 if (w) *w = ((RGBA_Draw_Context *)context)->clip.w;
585 *h = ((RGBA_Draw_Context *)context)->clip.h; 585 if (h) *h = ((RGBA_Draw_Context *)context)->clip.h;
586 return ((RGBA_Draw_Context *)context)->clip.use; 586 return ((RGBA_Draw_Context *)context)->clip.use;
587} 587}
588 588