From 63631b4ec95e4a2d194bd024fadfb68bed9b256b Mon Sep 17 00:00:00 2001 From: Adrian Lees Date: Tue, 22 Aug 2006 03:33:05 +0000 Subject: [PATCH] Workaround for later VideoHWSMI versions too; patterned line bug still not fixed svn path=/trunk/netsurf/; revision=2883 --- riscos/gui.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/riscos/gui.c b/riscos/gui.c index 9be02ba6d..876bce7a6 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -300,11 +300,13 @@ void gui_init(int argc, char** argv) /* the first release version of the A9home OS is incapable of plotting patterned lines (presumably a fault in the hw acceleration) */ if (!xosmodule_lookup("VideoHWSMI", NULL, NULL, &base, NULL, NULL)) { +#if 0 // this fault still hasn't been fixed, so disable patterned lines for all versions until it has const char *help = (char*)base + ((int*)base)[5]; while (*help > 9) help++; while (*help == 9) help++; if (!memcmp(help, "0.55", 4)) - ro_plot_patterned_lines = false; +#endif + ro_plot_patterned_lines = false; } atexit(ro_gui_cleanup);