remove an XXX comment, the sanity check seems to have worked out fine.
authorDana Jansens <danakj@orodu.net>
Sun, 10 Feb 2008 23:41:11 +0000 (18:41 -0500)
committerMikael Magnusson <mikachu@comhem.se>
Thu, 14 Feb 2008 18:40:02 +0000 (19:40 +0100)
render/image.c

index 2eb043a..fa630b7 100644 (file)
@@ -126,9 +126,6 @@ void RrImageDraw(RrPixel32 *target, RrTextureRGBA *rgba,
         dw = (gint)(dh * ((gdouble)sw / sh));
     }
 
-    if (!(dw && dh))
-        return; /* XXX sanity check */
-
     if (sw != dw || sh != dh) {
         /*if (!(rgba->cache && dw == rgba->cwidth && dh == rgba->cheight))*/ {
             g_free(rgba->cache);