1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2025-04-21 12:27:27 +03:00

Port of SVGAlib; patched to only use the linux frame buffer

Try the svgalib-demo programs: vgatest, speedtest etc. seem to work.
This commit is contained in:
David Kühling
2011-01-06 14:41:46 +01:00
parent 3fb4302e3a
commit ac7a991ae2
11 changed files with 897 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
Index: svgalib-1.4.3/src/vga.c
===================================================================
--- svgalib-1.4.3.orig/src/vga.c 2011-01-06 12:16:21.000000000 +0100
+++ svgalib-1.4.3/src/vga.c 2011-01-06 12:16:21.000000000 +0100
@@ -3920,7 +3920,7 @@
#define ML_GETINT(x) \
ptr = strtok(NULL, " "); if(!ptr) break; \
- mmt.##x = atoi(ptr);
+ mmt.x = atoi(ptr);
ML_GETINT(HDisplay);
ML_GETINT(HSyncStart);