Enlightenment CVS committal

Author  : cedric
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/engines/common_16


Modified Files:
        evas_soft16_main.c 


Log Message:
Update the stride when needed.


===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common_16/evas_soft16_main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_soft16_main.c  12 Apr 2008 02:11:07 -0000      1.1
+++ evas_soft16_main.c  14 May 2008 16:38:36 -0000      1.2
@@ -163,6 +163,7 @@
    sim->cache_entry.w = sim->source->cache_entry.w;
    sim->cache_entry.h = sim->source->cache_entry.h;
    sim->flags.have_alpha = !!(im->flags & RGBA_IMAGE_HAS_ALPHA);
+   if (sim->stride < 0) sim->stride = _calc_stride(sim->cache_entry.w);
 
    return 0;
 }



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to