A little while ago, I stumbled upon this thread:
http://lists.apple.com/archives/Mac-opengl/2007/Jul/msg00015.html
which reported that the Mac OpenGL Programming Guide:
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_performance/chapter_13_section_2.html#//apple_ref/doc/uid/TP40001987-CH213-SW23
suggested using:
GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV
instead of:
GL_RGBA, GL_UNSIGNED_BYTE
to avoid needless swizzling on many cards.
I made that modification, and things seemed to work fine in Tiger.
But I recently noticed that I am having issues with such textures in
Leopard (MBP w/x1600), and switching to GL_RGBA & GL_UNSIGNED_BYTE seems
to fix it for me.
Should the two pairs of enums give exactly the same result (which would
indicate a bug in Leopard, or at least, a difference in behavior)?
Do I need to combine these with a separate bit-setting somewhere?
(I read something related to GL_UNPACK_CLIENT_STORAGE_APPLE, but I'm not
sure I understand exactly if/how it plays into this, yet)
Any help appreciated...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden
This email sent to email@hidden