Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly
SDL_LoadBMP(3) SDL API Reference SDL_LoadBMP(3)

NAME

SDL_LoadBMP - Load a Windows BMP file into an SDL_Surface.

SYNOPSIS

#include "SDL.h"
 
SDL_Surface *SDL_LoadBMP(const char *file);

DESCRIPTION

Loads a surface from a named Windows BMP file.

RETURN VALUE

Returns the new surface, or NULL if there was an error.

SEE ALSO

SDL_SaveBMP
Tue 11 Sep 2001, 23:01 SDL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org