SDL_PollEvent trouble

Member
Posts: 53
Joined: 2007.08
Post: #1
I've been working on a project using SDL and OpenGL and things have been fine except now the program locks up when calling SDL_PollEvent. Everything compiles fine. The program runs up to the first SDL_PollEvent call and then I get the following in the run log:

2008-02-04 20:54:59.415 42[4097] Exception raised during posting of notification. Ignored. exception: *** +[NSFocusState sharedFocusState]: selector not recognized

Everything was working fine yesterday and my attempts to comment out the code added since have no effect. Any ideas what I did?
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
sounds like a bug in SDL,
Code:
+[NSFocusState sharedFocusState]
exists, the one with the : doesn't...
Quote this message in a reply
Member
Posts: 53
Joined: 2007.08
Post: #3
I just created a new project and added in my old sources. Works fine now. Still, I wish I knew what was going on.

Thanks for the input OSC.
Quote this message in a reply
Post Reply