removed png dependency
authorkramm <kramm>
Sun, 7 Jan 2007 20:26:30 +0000 (20:26 +0000)
committerkramm <kramm>
Sun, 7 Jan 2007 20:26:30 +0000 (20:26 +0000)
lib/devices/render.c

index 20c4dd8..7e6d2ad 100644 (file)
@@ -660,7 +660,7 @@ void render_result_write(gfxresult_t*r, int filedesc)
 }
 int render_result_save(gfxresult_t*r, char*filename)
 {
 }
 int render_result_save(gfxresult_t*r, char*filename)
 {
-    internal_result_t*i= (internal_result_t*)r->internal;
+    /*internal_result_t*i= (internal_result_t*)r->internal;
     if(i->next) {
        int nr=0;
        while(i->next) {
     if(i->next) {
        int nr=0;
        while(i->next) {
@@ -669,7 +669,7 @@ int render_result_save(gfxresult_t*r, char*filename)
        }
     } else {
        writePNG(filename, (unsigned char*)i->img.data, i->img.width, i->img.height);
        }
     } else {
        writePNG(filename, (unsigned char*)i->img.data, i->img.width, i->img.height);
-    }
+    }*/
     return 1;
 }
 void*render_result_get(gfxresult_t*r, char*name)
     return 1;
 }
 void*render_result_get(gfxresult_t*r, char*name)