Skip to content
Tangent 128 edited this page Mar 28, 2015 · 3 revisions

SDL.loadBMP

Load a BMP file as a surface.

Function

SYNOPSIS

surface, err = function SDL.loadBMP(file)

ARGUMENTS

  • file, the path to the file

RETURNS

  • surface, the surface or nil on failure (see Surface)
  • err, the error message
Clone this wiki locally