Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/evas

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


Modified Files:
        evas_convert_yuv.c 


Log Message:
fixed compilation error when sse was disabled and mmx was enabled
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_convert_yuv.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_convert_yuv.c  29 Jan 2004 09:45:55 -0000      1.5
+++ evas_convert_yuv.c  21 Mar 2004 20:22:58 -0000      1.6
@@ -120,12 +120,14 @@
 
    evas_common_cpu_can_do(&mmx, &sse, &sse2);
 #endif   
-#ifdef BUILD_SSE
+#ifndef BUILD_SSE
+   sse = 0;
+#endif
+#ifndef BUILD_MMX
+   mmx = 0;
+#endif
    if (sse) _evas_yv12torgb_sse(src, dst, w, h);
-#endif   
-#ifdef BUILD_MMX
    else if (mmx) _evas_yv12torgb_mmx(src, dst, w, h);
-#endif
 #ifdef BUILD_ALTIVEC
    if (evas_common_cpu_has_feature(CPU_FEATURE_ALTIVEC))
      _evas_yv12torgb_altivec(src, dst, w, h);




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to