[SDL] It seems SDL exchanges R & B channels

Alex Chen alex.chenhl at gmail.com
Tue Feb 26 05:57:23 PST 2008


On Tue, 26 Feb 2008 21:10:53 +0800, Jonathan Dearborn  
<grimfang4 at hotmail.com> wrote:

> *((Uint32 *)surface->pixels + y*surface->pitch/4 + x) = color;

I tried, but the result was same. Could you help me to test the code if  
you have a linux pc?

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the SDL mailing list