This is the mail archive of the
cygwin-xfree@sources.redhat.com
mailing list for the Cygwin project.
Re: miSprite Solution (?) Re: [ANNOUNCEMENT] Overlay and No DirectInput Test 4
- To: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>, cygwin-xfree at sources dot redhat dot com
- Subject: Re: miSprite Solution (?) Re: [ANNOUNCEMENT] Overlay and No DirectInput Test 4
- From: John Fortin <fortinj at attglobal dot net>
- Date: Mon, 13 Nov 2000 09:19:10 -0500
- References: <7F2B9185F0196F44B59990759B91B1C21516D7@ins-exch.inspirepharm.com>
Great! I would have sent them as diffs, but for some reason my diffs seem to
come out weird. I change 1 line and I get 400 line changes. BTW, do you want
diffs ala cygwin:
diff -up foo.c-orig foo.cc > foo.c-patch 2>&1
John
Suhaib Siddiqi wrote:
> John,
> Thanks. I will forward it to XFree86.org for inclusion into CVS.
>
> Sorry, you mail came on Monday morning. We had new telephone system
> installed.
> GTE technicians decided to turned off our Internet router on Friday evening.
> I assume they were dreaming or affraid that TCP/IP packets will sneak into
> their telephone systems <grin>... Our Internet connection was down for
> entire
> weekend.
>
> Suhaib
>
> > -----Original Message-----
> > From: John Fortin [mailto:fortinj@attglobal.net]
> > Sent: Saturday, November 11, 2000 12:55 PM
> > To: Suhaib Siddiqi; Harold Hunt
> > Subject: Re: miSprite Solution (?) Re: [ANNOUNCEMENT] Overlay and No
> > DirectInput Test 4
> >
> >
> > Attached are updated files to fix the Sprite problem.
> >
> > Imakefile: Added -I../../render to find picturestr.h
> >
> > InitOutput.c:
> > added #include "picturestr.h"
> > added
> > PictFormatPtr formats = NULL;
> > int nformats = 0;
> > to winScreenInit.
> >
> > added call to :
> > miPictureInit(pScreen, formats, nformats);
> > in winScreenInit. This is equivalent to fbPictureInit.
> >
> > Regards,
> > 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
> >