Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualSimonForsman

Posted 21 April 2012 - 01:54 PM

while( event.type == SDL_MOUSEBUTTONDOWN )

that causes an infinite loop as event never changes within the function.

You are also initializing the counter to 0 each time the function is called (Which is probably not what you want to do)

#1SimonForsman

Posted 21 April 2012 - 01:53 PM

while( event.type == SDL_MOUSEBUTTONDOWN )

that causes an infinite loop as event never changes within the function.

PARTNERS