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:
@@ -106,6 +106,10 @@ static char *lcd_drv_getinfo ();
|
|||||||
#include "glk.h"
|
#include "glk.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// -- #ifdef SVGALIB_DRV
|
||||||
|
#include "svgalib_drv.h"
|
||||||
|
// -- #endif
|
||||||
|
|
||||||
// Make program more readable and understandable;
|
// Make program more readable and understandable;
|
||||||
// hide details...
|
// hide details...
|
||||||
#define ResetList(a) LL_Rewind(a)
|
#define ResetList(a) LL_Rewind(a)
|
||||||
@@ -172,6 +176,10 @@ lcd_physical_driver drivers[] = {
|
|||||||
#ifdef STV5730_DRV
|
#ifdef STV5730_DRV
|
||||||
{"stv5730", stv5730_init,},
|
{"stv5730", stv5730_init,},
|
||||||
#endif
|
#endif
|
||||||
|
// -- #ifdef SVGALIB_DRV
|
||||||
|
{"svgalib", svgalib_drv_init,},
|
||||||
|
// -- #endif
|
||||||
|
|
||||||
{NULL, NULL,},
|
{NULL, NULL,},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user