[SDL] esc detector wont run -- 'out of scope'

Brian Puthuff brian.puthuff at gmail.com
Sat Mar 18 09:44:46 PDT 2017


I agree also. I thought there was some caveat that you needed a window open
to receive input events.


On Mar 18, 2017 9:17 AM, "DLudwig" <dludwig at pobox.com> wrote:




capehill wrote:

Do you have a window open? Does Control-C work?



I'd like to second the above.

Many platforms need a window open, before input can be received. Using
either SDL_CreateWindowAndRenderer, or just SDL_CreateWindow, once
beforehand at app init, may be sufficient to fix this.

-- David L.

_______________________________________________
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20170318/8a85fdbd/attachment.htm>


More information about the SDL mailing list