From 8825d41ef224eafc985545b620046e2a27ef46b9 Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 11 Nov 2004 09:34:08 +0000 Subject: [PATCH] added dummy MEMORY_INFO block. --- lib/rfxswf.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/rfxswf.c b/lib/rfxswf.c index d7f8f88..f0ece33 100644 --- a/lib/rfxswf.c +++ b/lib/rfxswf.c @@ -120,6 +120,16 @@ void rfx_free(void*ptr) free(ptr); } +#ifdef MEMORY_INFO +long rfx_memory_used() +{ +} + +char* rfx_memory_used_str() +{ +} +#endif + // internal constants #define MALLOC_SIZE 128 @@ -549,6 +559,8 @@ SRECT swf_TurnRect(SRECT r, MATRIX* m) { SRECT g; SPOINT p1,p2,p3,p4,pp1,pp2,pp3,pp4; + if(!m) + return r; p1.x = r.xmin;p1.y = r.ymin; p2.x = r.xmax;p2.y = r.ymin; p3.x = r.xmin;p3.y = r.ymax; -- 1.7.10.4