*** display/kgi/mode.c.orig Mon Nov 4 16:32:41 2002 --- display/kgi/mode.c Mon Apr 14 13:13:40 2003 *************** *** 114,119 **** --- 114,125 ---- int name_size; char *space; + #ifdef __FreeBSD__ + /* XXX no accel support in kernel */ + GGIDPRINT("Warning!! Accel not supported by FreeBSD kernel\n"); + return -1; + #endif + accel = kgiGetResource(&KGI_CTX(vis), 0, KGI_RT_ACCEL); if (! accel) { *************** *** 180,186 **** return -1; } ! GGIDPRINT("Found fb as resource %d", fb->resource); kgiSetupMmapFB(&KGI_CTX(vis), fb->resource); --- 186,192 ---- return -1; } ! GGIDPRINT("Found fb as resource %d\n", fb->resource); kgiSetupMmapFB(&KGI_CTX(vis), fb->resource);