Jon M. Taylor writes:

>       Heh, looks like today is the day for these announcements... anyway
>  I have mine too.  LibXMI now builds and installs stubs correctly, and
>  pixels are drawn on the screen by the demo program in more or less the
>  correct fashion.  Get it from CVS or at:
>  
>  http://tanuki.dhs.org/libxmi-0.1a.tar.gz

I have seen the arcs :-).  Red, green and blue.  demos/demo that is.
There are many glitches though, black parts where pixels aren't drawn.
The makefile for demos/demo needs "-lm" added to LDADD (initially demo
bombed out with an unknown `floor' symbol).  Also 8 bit mode looked
incorrect, it doesn't set a palette; below is a patch.

Cheers,
__
\/   Andrew Apted   <[EMAIL PROTECTED]>
 

diff -U4 demos/demo.c.prev demos/demo.c
--- demos/demo.c.prev   Thu Mar 23 18:42:20 2000
+++ demos/demo.c        Thu Mar 23 18:52:37 2000
@@ -138,8 +138,11 @@
        if (ggiSetSimpleMode(vis, GGI_AUTO, GGI_AUTO, GGI_AUTO, GT_AUTO) < 0) {
                ggiPanic("Unable to set default mode\n");
        }
        
+       /* Set the default palette, if needed */
+       ggiSetColorfulPalette(vis);
+
        /* Attach the misc extension to the visual */
        if (xmiAttach(vis) < 0) {
                ggiPanic("Unable to attach XMI extension to visual\n");
        }

Reply via email to