A bug of SDL 1.3

I found a bug of SDL1.3 in a Direct3D backend.

Please see main.c.
This is a simple program that “test.bmp” moves about in screen.
In the main funtion, it calls
If xxx is gdi or opengl, it does fine.
But xxx is d3d, the result is strange.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: main.c
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070213/0b9c418d/attachment.txt
-------------- next part --------------
A non-text attachment was scrubbed…
Name: test.bmp
Type: image/bmp
Size: 3126 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070213/0b9c418d/attachment.bin