projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
91a1b08
)
remove an XXX comment, the sanity check seems to have worked out fine.
author
Dana Jansens
<danakj@orodu.net>
Sun, 10 Feb 2008 23:41:11 +0000
(18:41 -0500)
committer
Mikael Magnusson
<mikachu@comhem.se>
Thu, 14 Feb 2008 18:40:02 +0000
(19:40 +0100)
render/image.c
patch
|
blob
|
history
diff --git
a/render/image.c
b/render/image.c
index
2eb043a
..
fa630b7
100644
(file)
--- a/
render/image.c
+++ b/
render/image.c
@@
-126,9
+126,6
@@
void RrImageDraw(RrPixel32 *target, RrTextureRGBA *rgba,
dw = (gint)(dh * ((gdouble)sw / sh));
}
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);
if (sw != dw || sh != dh) {
/*if (!(rgba->cache && dw == rgba->cwidth && dh == rgba->cheight))*/ {
g_free(rgba->cache);