[SDL] Video window hangs on Windows XP
slouken at devolution.com
Sat Jul 26 12:39:04 PDT 2003
> Hi everyone,
> I'm attempting a Windows port of a program I have originally written for
> Linux, by using mingw + gcc 3.2 + pthread-win32 + libsdl 1.25. I managed
> to compile run the program successfully, but when I set a windowed video
> mode, Windows XP thinks the window is frozen and displays "Not
> responding" on the title bar, even if I am drawing to the surface and I
> see what I expect. I cannot move the window (an hourglass cursor appears
> when I move the mouse pointer over the window), but I get everything
> drawn onto the surface and the keyboard responds correctly.
That usually happens when you don't run the SDL event loop.
(e.g. SDL_PollEvent() or SDL_WaitEvent())
-Sam Lantinga, Software Engineer, Blizzard Entertainment
More information about the SDL