Re: Copying raw RGBA image data to NSBitmapImageRep coming out funny
Re: Copying raw RGBA image data to NSBitmapImageRep coming out funny
- Subject: Re: Copying raw RGBA image data to NSBitmapImageRep coming out funny
- From: "E. Wing" <email@hidden>
- Date: Wed, 10 Jan 2007 16:59:22 -0800
> >> Try NSAlphaFirstBitmapFormat
> This didn't seem to help. Depending on whether I used
I forgot to mention that I'm using GL_BGRA, and not GL_RGBA.
GL_BGRA, with GL_UNSIGNED_INT_8_8_8_8_REV on big endian or
GL_UNSIGNED_INT_8_8_8_8 on intel and NSAlphaFirstBitmapFormat is
working on both PPC and intel.
So as you suggested, I changed to GL_BGRA, used
GL_UNSIGNED_INT_8_8_8_8_REV on PowerPC, and set
NSAlphaFirstBitmapFormat. But my images still come out the same funny
way as my original post.
Any other ideas?
Thanks,
Eric
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden