comparison src/video/SDL_bmp.c @ 1361:19418e4422cb

New configure-based build system. Still work in progress, but much improved
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Feb 2006 10:11:48 +0000
parents c71e05b4dc2e
children d910939febfa
comparison
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22
23 #ifndef DISABLE_FILE
24 22
25 /* 23 /*
26 Code to load and save surfaces in Windows BMP format. 24 Code to load and save surfaces in Windows BMP format.
27 25
28 Why support BMP format? Well, it's a native format for Windows, and 26 Why support BMP format? Well, it's a native format for Windows, and
517 if ( freedst && dst ) { 515 if ( freedst && dst ) {
518 SDL_RWclose(dst); 516 SDL_RWclose(dst);
519 } 517 }
520 return((SDL_strcmp(SDL_GetError(), "") == 0) ? 0 : -1); 518 return((SDL_strcmp(SDL_GetError(), "") == 0) ? 0 : -1);
521 } 519 }
522
523 #endif /* ENABLE_FILE */