[SDL] 1.2.8 -> 1.2.11 Upgrade
hinko.kocevar at cetrtapot.si
hinko.kocevar at cetrtapot.si
Fri Feb 2 01:42:17 PST 2007
Hello,
I've upgraded SDL version from 1.2.8 to 1.2.11 and I'm noticing that
colors are not the same. SDL is used on an embedded device with 8bpp,
320x240 sized LCD.
My first investigations were around blitting code of the surface and I
found out that several changes were made in that section
(src/video/SDL_blit* files).
I guess that grey 'bars' appear 'cause of the low bpp for my embedded
screen, no matter at least colors are right in the 1.2.8 version. The
fact the testalpha forces the display to work at 16bpp instead os 8bpp
doesn't seem to have any problems running on older version of SDL 1.2.8,
if that would be the case for the 1.2.11...
When running testalpha on 1.2.8 version, grey bars are nicely stacked
from black to white, with pale orange rectangle on the middle - which
seems fine. But on 1.2.11 grey bars are not grey - just first bar is
black and last is white, the ones in between are pink, yellow, green
,white?. Plus the rectangle in the middle is pale green! Sprite is
always yellow on 1.2.8, but is changing to some weird colors on 1.2.11.
I can confirm that running testalpha 1.2.11 version on the host works
fine (smooth and at 32-bpp).
Cursor is nice in the both screens- probably 'cause it is only BW.
Can anyone give me some pointers what might be wrong?
best regards,
hinko
--
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si
More information about the SDL
mailing list