fixed a bug occuring when shapes are entirely outside of the viewport
authorkramm <kramm>
Fri, 29 Apr 2005 08:45:50 +0000 (08:45 +0000)
committerkramm <kramm>
Fri, 29 Apr 2005 08:45:50 +0000 (08:45 +0000)
lib/modules/swfrender.c

index 237b449..e085937 100644 (file)
@@ -832,6 +832,8 @@ void swf_Process(RENDERBUF*dest, U32 clipdepth)
                 endx = i->width2;
             if(startx < 0)
                 startx = 0;
+            if(endx < 0)
+                endx = 0;
 
            if(clipdepth) {
                /* for clipping, the inverse is filled */