diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-07-21 13:04:54 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-07-21 13:04:54 +0000 |
| commit | 720cdc05bbce2df0c153c91812b0850e3d61b260 (patch) | |
| tree | 54cf9d9ea781d1ffe2fd1ccbdbdbbb81db87a567 /sys/dev/syscons/fire | |
| parent | 6b6ee1e771d0ba5e755f61c50fabfe1a06e012cf (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons/fire')
| -rw-r--r-- | sys/dev/syscons/fire/fire_saver.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/syscons/fire/fire_saver.c b/sys/dev/syscons/fire/fire_saver.c index 2cdee0b6f925..0bc031cad7cb 100644 --- a/sys/dev/syscons/fire/fire_saver.c +++ b/sys/dev/syscons/fire/fire_saver.c @@ -105,7 +105,7 @@ fire_update(video_adapter_t *adp) static int fire_saver(video_adapter_t *adp, int blank) { - int i, pl; + int pl; if (blank) { /* switch to graphics mode */ @@ -118,10 +118,7 @@ fire_saver(video_adapter_t *adp, int blank) banksize = adp->va_window_size; bpsl = adp->va_line_width; splx(pl); - for (i = 0; i < bpsl * scrh; i += banksize) { - set_origin(adp, i); - bzero(vid, banksize); - } + (*vidsw[adp->va_index]->clear)(adp); } fire_update(adp); } else { |
