could any one help me on SDL_GetMouseState(0,0)........ my coding is as below
if(SDL_GetMouseState(0,0)&SDL_BUTTON(SDL_BUTTON_LEFT))
{
//function calls
}
this coding works button when i click on the window the contents remain only till the button is in pressed state........