git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
trivial fixes
[swftools.git]
/
lib
/
devices
/
render.c
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 <stdlib.h>
#include <stdio.h>
+#include <math.h>
#include <memory.h>
#include "../gfxdevice.h"
#include "../gfxtools.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);
}
} else {
writePNG(filename, (unsigned char*)i->img, i->width, i->height);
}
+ return 1;
}
void*render_result_get(gfxresult_t*r, char*name)
{
}
void*render_result_get(gfxresult_t*r, char*name)
{