Potential fix for crashing ogl in drawing render updates... ATI only?

I don't know why, but at Andrea's system it goes fine.
This commit is contained in:
2006-02-14 22:14:14 +00:00
parent c9fa1a23e4
commit 11293a6492

View File

@@ -762,8 +762,8 @@ static void renderwin_progress(RenderWin *rw, RenderResult *rr, rcti *renrect)
/* if renrect argument, we only display scanlines */
if(renrect) {
ymin= renrect->ymin;
ymax= renrect->ymax-ymin; /* dunno... scanline updating seems to be nasty? */
if(ymax<2) return;
ymax= renrect->ymax-ymin;
if(ymax<2 || renrect->ymax>=rr->recty) return;
renrect->ymin= renrect->ymax;
}
else {