Workaround for later VideoHWSMI versions too; patterned line bug still not fixed

svn path=/trunk/netsurf/; revision=2883
This commit is contained in:
Adrian Lees 2006-08-22 03:33:05 +00:00
parent 055a7b84a3
commit 63631b4ec9

View File

@ -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);