git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d000528
)
trivial fixes
author
kramm
<kramm>
Fri, 6 Jan 2006 20:37:56 +0000
(20:37 +0000)
committer
kramm
<kramm>
Fri, 6 Jan 2006 20:37:56 +0000
(20:37 +0000)
lib/devices/render.c
patch
|
blob
|
history
diff --git
a/lib/devices/render.c
b/lib/devices/render.c
index
1865e88
..
e63532a
100644
(file)
--- a/
lib/devices/render.c
+++ b/
lib/devices/render.c
@@
-20,6
+20,7
@@
#include <stdlib.h>
#include <stdio.h>
+#include <math.h>
#include <memory.h>
#include "../gfxdevice.h"
#include "../gfxtools.h"
@@
-707,6
+708,7
@@
int render_result_save(gfxresult_t*r, char*filename)
} else {
writePNG(filename, (unsigned char*)i->img, i->width, i->height);
}
+ return 1;
}
void*render_result_get(gfxresult_t*r, char*name)
{