SDL_image support added to SDL module
Adrián Pérez de Castro <[email protected]> Sat, 03 Apr 2004 23:19:01 +0200
| Newsgroups | gmane.comp.lang.lua.luacheia |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi folks, As the SDL module already had SDL_image support, what I have just done is making some checks in the "configure" script to enable that support. I had to tune "sdl_module.cpp" as it lacked the SDL_image #include -- neither are are big changes, but it's very useful to load bitmaps in other formats different from BMP. Now the SDL_LoadBMP() function is able of loading all the file formats supported by the SDL_image library installed in the target system. If the library is not found, SDL_imge support is not built-in, as you might suspect. Hope you like this small addition as much as I liked the addition of the LXP module (I find XML highly interesting, really :D), - -- Adrián Pérez de Castro moebius _at_ eml.cc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (Darwin) iD8DBQFAbypYghBwwjayrGQRAik0AJ0dkL1laNAjHBzzwpSHfCxF5g+/EwCfYLOs jZuAU3OW32g6r6J/IrLYOak= =BiyZ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click