X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDLx-Sprite.html-inc;h=8c7bee8509745e64aa693fe130585664f2b8ab34;hb=d16cf6099f200163fdcf578d0cfd25896fbda759;hp=6751c8b5995a7af96c11109c97f83a46b40f63c4;hpb=d5943b684b1240307fbf0a103abbf18dd93998f4;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDLx-Sprite.html-inc b/pages/SDLx-Sprite.html-inc index 6751c8b..8c7bee8 100644 --- a/pages/SDLx-Sprite.html-inc +++ b/pages/SDLx-Sprite.html-inc @@ -196,7 +196,7 @@ library has support for GFX (see SDL::Video::get_video_mode prior to this.

+

MUST CALL SDL::Video::get_video_mode prior to this.

Uses the provided SDL::Color object (or an array reference with red, green and blue values) as the color to be turned into transparent (see 'alpha' below).

@@ -233,7 +233,7 @@ details).

If you pass a SDL::Surface to it, it will overwrite the original surface with it, while returning the old (previous) surface. Note that, as such, it will return undef if you use it without having previously loaded -either an image or a previous surface. It will croak if you pass anything +either an image or a previous surface. It will Carp::confess if you pass anything that's not an SDL::Surface object (or SDL::Surface subclassed objects).