Fix large delay in library of The Dig regression.

Clipping in akos was made too strict.

svn-id: r14145
This commit is contained in:
Travis Howell 2004-07-01 11:22:38 +00:00
parent 06dc6a2c4e
commit 26a4a688cf

View File

@ -815,7 +815,7 @@ byte AkosRenderer::codec5(int xmoveCur, int ymoveCur) {
clip.clip(maxw, maxh);
if (!clip.isValidRect())
if ((clip.left >= clip.right) || (clip.top >= clip.bottom))
return 0;
if (_draw_top > clip.top)
@ -1020,7 +1020,7 @@ byte AkosRenderer::codec16(int xmoveCur, int ymoveCur) {
clip.bottom = maxh;
}
if (!clip.isValidRect())
if ((clip.left >= clip.right) || (clip.top >= clip.bottom))
return 0;
if (_draw_top > clip.top)