diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 1999-04-12 13:34:58 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 1999-04-12 13:34:58 +0000 |
commit | 601752d5a7bef087e755da5a2b158fa35cb51ccb (patch) | |
tree | 5c3c78f2bed7924866ee05a155100009dd4bd7ea /sys/dev/syscons/rain | |
parent | eca2ddda6fd1e734bada3ecb6ae0a7ec883d6cc4 (diff) | |
download | src-601752d5a7bef087e755da5a2b158fa35cb51ccb.tar.gz src-601752d5a7bef087e755da5a2b158fa35cb51ccb.zip |
Notes
Diffstat (limited to 'sys/dev/syscons/rain')
-rw-r--r-- | sys/dev/syscons/rain/rain_saver.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/syscons/rain/rain_saver.c b/sys/dev/syscons/rain/rain_saver.c index 0b4b2ee3e9e2..9aa7370074c1 100644 --- a/sys/dev/syscons/rain/rain_saver.c +++ b/sys/dev/syscons/rain/rain_saver.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: rain_saver.c,v 1.1 1998/12/31 13:41:40 des Exp $ + * $Id: rain_saver.c,v 1.2 1999/01/11 03:18:50 yokota Exp $ */ #include <sys/param.h> @@ -68,7 +68,11 @@ rain_saver(video_adapter_t *adp, int blank) /* switch to graphics mode */ if (blanked <= 0) { pl = splhigh(); - set_video_mode(adp, M_VGA_CG320, rain_pal, 0); + set_video_mode(adp, M_VGA_CG320); + load_palette(adp, rain_pal); +#if 0 /* XXX conflict */ + set_border(adp, 0); +#endif blanked++; vid = (u_char *)adp->va_window; splx(pl); |