[SDL] SDL_PeepThread() first argument confusion / newbie
Crono5788
crono5788 at gmail.com
Thu Apr 12 15:44:58 PDT 2007
I'm using SDL_PeepThread() in my program. When I use the ampersand operator to
send it the first argument, i.e. (&events, ...), it works fine. But when I send
it a pointer for an SDL_Event, i.e. (p_events, ...), I get a memory segmentation
fault and the program crashes! Could someone explain why, or at least show me
something else that would explain why? Thanks in advance for the help!
More information about the SDL
mailing list