Removed EGA/(S)VGA render wake-up on zero-sized blit and fixed the last compile-breaking mistake in the Unix SDL code.
This commit is contained in:
@@ -675,10 +675,8 @@ ega_doblit(int wx, int wy, ega_t *ega)
|
||||
bottom <<= 1;
|
||||
}
|
||||
|
||||
if ((wx <= 0) || (wy <= 0)) {
|
||||
video_blit_memtoscreen(x_start, y_start, 0, 0);
|
||||
if ((wx <= 0) || (wy <= 0))
|
||||
return;
|
||||
}
|
||||
|
||||
if (ega->vres)
|
||||
ega->y_add <<= 1;
|
||||
|
||||
@@ -1361,10 +1361,8 @@ svga_doblit(int wx, int wy, svga_t *svga)
|
||||
bottom <<= 1;
|
||||
}
|
||||
|
||||
if ((wx <= 0) || (wy <= 0)) {
|
||||
video_blit_memtoscreen(x_start, y_start, 0, 0);
|
||||
if ((wx <= 0) || (wy <= 0))
|
||||
return;
|
||||
}
|
||||
|
||||
if (svga->vertical_linedbl)
|
||||
svga->y_add <<= 1;
|
||||
|
||||
Reference in New Issue
Block a user