[SDL] SDL_GetMouseState

Brian Barrett brian.ripoff at gmail.com
Tue Sep 20 09:50:00 PDT 2005


i have used this function and it works fine, even with opengl.
try posting your code, maybe the bits around SDL_GetMouseState, or writing a 
sample that shows the problem in the fewest lines possible.

On 9/20/05, Drouin524 at aol.com <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.
> Without this function the program runs . I saw someone's with the same 
> problem on a forum.
> Has someone a solution ? If anybody as a C source (not too big( 5Ko per 
> sec)) for windows with SDL+OpenGL+SDL_GetMouseState() , could you send me at 
> Drouin524 at aol.com ?
> Thanks.
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
> 
> 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20050920/e3cbf089/attachment-0008.htm>


More information about the SDL mailing list