[SDL] Re: 0.10 candidate bug report

Vaclav Slavik slavik2 at czn.cz
Mon Aug 2 14:53:54 PDT 1999


attached you can find updated VisualC projects. (moving SDL_thread.c into
another directory, adding SDL_systhread.c)

I had to do following to compile it under Win95, VisualC++ 6.0 :

src/win32/directx/sdl_video.c :
(1494) ReleaseDC has bad order of parameters. Correct order is "sdl_window, dc",
NOT "dc, wnd"

src/win32/windib/sdl_video.c :
(110) same problem with ReleaseDC as above
(379) "SelectPalette(hdc, ...." must be replaced by "SelectPalette(*hdc, ...."
(hdc is pointer to DC variable)
(381), (383) same thing must be done (in same function) for calls to
CreateCompatibleDC and BitBlt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vc.tgz
Type: application/octet-stream
Size: 1768 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/19990802/4a9e5fba/attachment-0008.obj>

More information about the SDL mailing list