miSprite Solution (?) Re: [ANNOUNCEMENT] Overlay and No DirectInput Test 4

Suhaib Siddiqi ssiddiqi@inspirepharm.com
Thu Nov 9 05:03:00 GMT 2000


> -----Original Message-----
> From: John Fortin [ mailto:fortinj@attglobal.net ]
> Sent: Thursday, November 09, 2000 8:00 AM
> Cc: cygwin-xfree@sources.redhat.com
> Subject: Re: miSprite Solution (?) Re: [ANNOUNCEMENT] Overlay and No
> DirectInput Test 4
>
>
>
>
> Suhaib Siddiqi wrote:
> >
> > John,
> >
> > Are you compiling with with -DSCREENSAVER and -DRENDER flags?
> > I noticed in Harold Makefiles, he was.  I would not
> > recommend using -DSCREENSAVER and -DRENDER flags.
> >
> > Suhaib
> >
>
> They were added during the default makefile creation.  Do we need to
> turn these off by default for cygwin (in cygwin.cf)??
> Look in X11.tmpl.
>
> John
>

I will check tonight.  The source tree is at my home PC.  However, I would
prefer
one of the two following solutions:

1) add fbPictureInit (or equivalent) in the xwin

2) or for a quick and dirty fix change the following

#ifdef RENDER
        PictureScreenPtr    ps = GetPictureScreen(pScreen);
    #endif

to

#if defined(RENDER) && !defined (__CYGWIN__)
        PictureScreenPtr    ps = GetPictureScreen(pScreen);
    #endif

Suhaib



More information about the Cygwin-xfree mailing list