[cairo-commit] src/cairo-script-surface.c

Andrea Canciani ranma42 at kemper.freedesktop.org
Mon Apr 19 01:40:36 PDT 2010


 src/cairo-script-surface.c |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit b7fbda276df52de6a5ac67397a8d49657233fcfa
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Sun Apr 18 23:16:07 2010 +0200

    Revert "script: Another RGB16_565 warning."
    
    This reverts commit a9f506493371ac91494488e5ca38e57ceb5a10cb.
    
    The change was already applied in bdf8f50adae67498d5fe36727ed2cd34c0206509.

diff --git a/src/cairo-script-surface.c b/src/cairo-script-surface.c
index 67366ad..a9f6be5 100644
--- a/src/cairo-script-surface.c
+++ b/src/cairo-script-surface.c
@@ -1065,12 +1065,6 @@ _write_image_surface (cairo_output_stream_t *output,
 	    data += stride;
 	}
 	break;
-    case CAIRO_FORMAT_RGB16_565:
-	for (row = image->height; row--; ) {
-	    _cairo_output_stream_write (output, data, 2*width);
-	    data += stride;
-	}
-	break;
     case CAIRO_FORMAT_RGB24:
 	for (row = image->height; row--; ) {
 	    int col;


More information about the cairo-commit mailing list