Hello,
I am getting weird colors in 16/32 bpp in an VIA custom
board with savagefb and in qemu (cirrusfb).
For example running the testsprite from the SDL/tests I get.
board qemu
8bpp yellow yellow (correct)
16bpp mauve mauve
32bpp red x
Has anybody see this? If yes please post here so I know
that I am not alone in a world with strange colors. If you
have a suggestion or workaround wouldn’t hurt either…
.bill
Vassilis Virvilis wrote:
Hello,
I am getting weird colors in 16/32 bpp in an VIA custom
board with savagefb and in qemu (cirrusfb).
For example running the testsprite from the SDL/tests I get.
board qemu
8bpp yellow yellow (correct)
16bpp mauve mauve
32bpp red x
Has anybody see this? If yes please post here so I know
that I am not alone in a world with strange colors. If you
have a suggestion or workaround wouldn’t hurt either…
.bill
Ok looks that nowadays if you follow compiler warnings closely
all bugs will be resolved by you. This one was that a non void
function (do_mmap) was not returning anything.
I also silenced a warning since I was in janitor mode.
patch against current svn SDL 1.2 attached. please apply
-------------- next part --------------
A non-text attachment was scrubbed…
Name: fbcon_do_mmap.patch
Type: text/x-patch
Size: 592 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060515/08aba2db/attachment.bin
Ok looks that nowadays if you follow compiler warnings closely
all bugs will be resolved by you. This one was that a non void
function (do_mmap) was not returning anything.
I also silenced a warning since I was in janitor mode.
patch against current svn SDL 1.2 attached. please apply
Looks good, thanks!
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment