OpenGL SDL_GetMouseState();

I use Windows Dev-Cpp and SDL 1.8 .
I try
SDL_GetMouseState(&mouseX,&mouseY);
in the main loop of a SDL-OpenGL program, it runs few seconds and it bugs.
has someone a solution ?

we really need the context, nothing immediatly springs to mind.

how did you decide that function was the problem???On 9/19/05, Drouin524 at aol.com wrote:

I use Windows Dev-Cpp and SDL 1.8 .
I try
SDL_GetMouseState(&mouseX,&mouseY);
in the main loop of a SDL-OpenGL program, it runs few seconds and it bugs.
has someone a solution ?


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl