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.
This commit is contained in:
ddouthitt
2001-09-25 15:36:42 +00:00
parent a69505658a
commit 31d9cc98c0
+8
View File
@@ -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,},
};