|
|
Hi.
SDL_GetError() returns a C string describing why the last SDL function
returned an error. You can print it to the console if your app is
using one, or you could create a message box to display the error. I'm
not too familiar with macs but you should be able to rig your program
to run with a console, so you can use printf() for C or std::cout from
C++ to view the value of SDL_GetError().
On Sun, Nov 22, 2009 at 3:17 PM, jesseoffy <jesseo@xxxxxxxxxxxxxxxx> wrote:
> I'm using the BMP file. Where do I place SDL_GetError()? I'm quite new to
> sdl still. This is the first thing I have learned.
> _______________________________________________
> SDL mailing list
> SDL@xxxxxxxxxxxxxxxx
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
_______________________________________________
SDL mailing list
SDL@xxxxxxxxxxxxxxxx
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
|
|