]> Dogcows Code - chaz/openbox/commitdiff
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 2eb043a25c72ddec769f0a2ac1d82e770de89a7c..fa630b749a235784dc9b847b0dabdae0084ab9f5 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);
This page took 0.022595 seconds and 4 git commands to generate.