[SDL] sdl 0.9.13 (win32) bug report
tristan at mpegtv.com
Tue Aug 3 02:21:17 PDT 1999
The bug is in stub/win32/winmain.c
SDL_RegisterApp() is currently called after SDL_Init().
It should be called before.
I hope SDL_RegisterApp()
does not use any resource that must be initialized by
SDL_Init(), otherwise we have a problem there...
In some cases SDL_Init()
causes CreateWindow() to be called, and in the current case
SDL_Instance is not set, because it is set only after
SDL_RegisterApp() has been called.
The case when SDL_Init() calls CreateWindow() occurs when
DDRAW.DLL is not present, i.e. the fallback sdl-DIB.dll
library is used.
The call sequence is:
More information about the SDL