On Wednesday 04 April 2007 19:06, Torgeir Veimo wrote:
>
> On 4 Apr 2007, at 17:27, Martin Wache wrote:
>
> > Torgeir Veimo schrieb:
> >>> Ok, that works. But I got an endian issue I guess. Are you
> >>> working on
> >>> a ppc mac?
> >>>
> > Yes :-)
> >
> >>> Here's a screenshot;
> >>>
> > I had a chance to try it on an intel mac a few weeks ago, I didn't
> > have
> > the time to fix those problems correctly, but this hack fixes the
> > problems...
> >
> > Bye,
> > Martin
> > Index: utils.c
> > ===================================================================
> > RCS file: /cvsroot/softdevice/softdevice/utils.c,v
> > retrieving revision 1.25
> > diff -u -r1.25 utils.c
> > --- utils.c 15 Jan 2007 19:35:13 -0000 1.25
> > +++ utils.c 4 Apr 2007 16:24:06 -0000
> > @@ -172,9 +172,13 @@
> > }
> > #endif
> > for ( ; i>=2; i-=2 ) {
> > +#if 1
> > + *((uint32_t *)dest1) = (yc1[1] << 24)+ (vc[0] << 16) + (yc1
> > [0] << 8) + (uc[0] << 0);
> > + *((uint32_t *)dest2) = (yc2[1] << 24)+ (vc[0] << 16) + (yc2
> > [0] << 8) + (uc[0] << 0);
> > +#else
Which one needs this: PowerMac or IntelMac ?
Are you using the OpenGL output ?
Maybe that using GL_UNSIGNED_SHORT_8_8_REV_APPLE instead of
GL_UNSIGNED_SHORT_8_8_APPLE has the same effect (line 747 video-quartz.c).
OT: How much does the develoment enviroment for apple costs ?
--
Stefan Lucke
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel