aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscons/warp
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>1999-04-12 13:34:58 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>1999-04-12 13:34:58 +0000
commit601752d5a7bef087e755da5a2b158fa35cb51ccb (patch)
tree5c3c78f2bed7924866ee05a155100009dd4bd7ea /sys/dev/syscons/warp
parenteca2ddda6fd1e734bada3ecb6ae0a7ec883d6cc4 (diff)
Notes
Diffstat (limited to 'sys/dev/syscons/warp')
-rw-r--r--sys/dev/syscons/warp/warp_saver.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/syscons/warp/warp_saver.c b/sys/dev/syscons/warp/warp_saver.c
index ef0afa2bebfa..3476c3644bd5 100644
--- a/sys/dev/syscons/warp/warp_saver.c
+++ b/sys/dev/syscons/warp/warp_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: warp_saver.c,v 1.3 1998/12/31 13:38:59 des Exp $
+ * $Id: warp_saver.c,v 1.4 1999/01/11 03:18:55 yokota Exp $
*/
#include <sys/param.h>
@@ -81,7 +81,11 @@ warp_saver(video_adapter_t *adp, int blank)
/* switch to graphics mode */
if (blanked <= 0) {
pl = splhigh();
- set_video_mode(adp, M_VGA_CG320, warp_pal, 0);
+ set_video_mode(adp, M_VGA_CG320);
+ load_palette(adp, warp_pal);
+#if 0 /* XXX conflict */
+ set_border(adp, 0);
+#endif
blanked++;
vid = (u_char *)adp->va_window;
splx(pl);