Enlightenment CVS committal

Author  : barbieri
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/modules/engines/software_sdl


Modified Files:
        evas_engine.c 


Log Message:
Revert SDL changes, I was already commited.

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/modules/engines/software_sdl/evas_engine.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- evas_engine.c       5 Oct 2007 05:47:58 -0000       1.7
+++ evas_engine.c       5 Oct 2007 14:35:39 -0000       1.8
@@ -177,8 +177,6 @@
 
    SDL_FillRect(re->surface, NULL, 0);
 
-   memset(re->surface->pixels, 0, w * h * 4);
-
    /* Destroy the copy */
    evas_cache_engine_image_drop(eim);
 }
@@ -257,13 +255,6 @@
 
    SDL_FillRect(re->surface, &rect, 0);
 
-   rect.x = *x;
-   rect.y = *y;
-   rect.w = *w;
-   rect.h = *h;
-
-   SDL_FillRect(re->surface, &rect, 0);
-
    /* Return the "fake" surface so it is passed to the drawing routines. */
    return re->rgba_engine_image;
 }
@@ -323,7 +314,7 @@
 static void*
 evas_engine_sdl_image_load(void *data, const char *file, const char *key, int 
*error, Evas_Image_Load_Opts *lo)
 {
-   Render_Engine*      re = (Render_Engine*) data;;
+   Render_Engine*      re = (Render_Engine*) data;
 
    *error = 0;
    return evas_cache_engine_image_request(re->cache, file, key, lo, NULL, 
error);
@@ -849,8 +840,6 @@
      }
 
    SDL_FillRect(re->surface, NULL, 0);
-
-   memset(re->surface->pixels, 0, w * h * 4);
 
    re->alpha = alpha;
    re->hwsurface = hwsurface;



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to