From 31d9cc98c0ba86471ef599999c2d0485b7b4233f Mon Sep 17 00:00:00 2001 From: ddouthitt Date: Tue, 25 Sep 2001 15:36:42 +0000 Subject: [PATCH] Added support for the new svga driver into lcd.c; however, the Makefiles will need to be modified to support linking against libvga and libvgagl, and support for the SVGALIB_DRV define will have to be added to autoconf or whatever. --- server/drivers/lcd.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/drivers/lcd.c b/server/drivers/lcd.c index 8722855..1430d6c 100644 --- a/server/drivers/lcd.c +++ b/server/drivers/lcd.c @@ -106,6 +106,10 @@ static char *lcd_drv_getinfo (); #include "glk.h" #endif +// -- #ifdef SVGALIB_DRV +#include "svgalib_drv.h" +// -- #endif + // Make program more readable and understandable; // hide details... #define ResetList(a) LL_Rewind(a) @@ -172,6 +176,10 @@ lcd_physical_driver drivers[] = { #ifdef STV5730_DRV {"stv5730", stv5730_init,}, #endif +// -- #ifdef SVGALIB_DRV + {"svgalib", svgalib_drv_init,}, +// -- #endif + {NULL, NULL,}, };