diff options
| -rw-r--r-- | render/image.c | 3 |
1 files changed, 0 insertions, 3 deletions
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); |
