Re: how to check for an event

Jonathan Dearborn <[email protected]> Wed, 15 Feb 2017 19:22:23 -0500
Newsgroups gmane.comp.lib.sdl
Message-ID <CA+DSiHYSpkyypmwH-OVyff49fKAA=f6toSxiK9oespwym3tAHw@mail.gmail.com>
Well, you could use SDL_SetError() to at least show something.

https://wiki.libsdl.org/SDL_SetError

Jonny D


On Wednesday, February 15, 2017, speartip <[email protected]> wrote:

> Oh, ad I wanted a code so I could make sure the printf function was
> working. Right now I just get 1/2 back:
>
> printf("SDL_Init failed: %s\n", SDL_GetError())
>
> That's ok, I just want to make the code does work, and without an error
> hard to say.
>
> But I've beat this topic up, so I am just going to move on here ...
>

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org