From: Dana Jansens Date: Sun, 10 Feb 2008 23:41:11 +0000 (-0500) Subject: remove an XXX comment, the sanity check seems to have worked out fine. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b92cb6a08a1dc560e439d2a01cfbb32f50130324;p=chaz%2Fopenbox remove an XXX comment, the sanity check seems to have worked out fine. --- diff --git a/render/image.c b/render/image.c index 2eb043a2..fa630b74 100644 --- a/render/image.c +++ b/render/image.c @@ -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);