SDL with WinDIB

Hello !

I just compiled the latest SDL CVS version
and when i try to start testsprite for example
the window opens, but i do not see any smilies flying
around. I have to explicitly start it with ./testsprite -bpp 32
to see them. When using Directx instead of WinDIB it works
without problems.

Others have the same problem ?

CU

I just compiled the latest SDL CVS version
and when i try to start testsprite for example
the window opens, but i do not see any smilies flying
around. I have to explicitly start it with ./testsprite -bpp 32
to see them. When using Directx instead of WinDIB it works
without problems.

Yep, I noticed this too, I think it’s related to the palette code in windib.
I’ve entered the bug in bugzilla:
https://bugzilla.libsdl.org/show_bug.cgi?id=107

-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment

I just compiled the latest SDL CVS version
and when i try to start testsprite for example
the window opens, but i do not see any smilies flying
around. I have to explicitly start it with ./testsprite -bpp 32
to see them. When using Directx instead of WinDIB it works
without problems.

Yep, I noticed this too, I think it’s related to the palette code in windib.
I’ve entered the bug in bugzilla:
https://bugzilla.libsdl.org/show_bug.cgi?id=107

This is fixed in CVS. It was broken by one of the Windows CE commits.

Thanks!
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment