remove an XXX comment, the sanity check seems to have worked out fine.
This commit is contained in:
parent
91a1b08909
commit
b92cb6a08a
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue