Fixed a bug where Image_LoadFromFile was bound to SFML::Image#loadFromPixels...

Didn't I commit this just now? I think my SVN client isn't working properly.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1705 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
groogy 2010-11-24 21:06:54 +00:00
parent ee117bb749
commit d4e60f3a2a

View File

@ -597,7 +597,7 @@ void Init_Image( void )
// Instance methods
rb_define_method( globalImageClass, "loadFromFile", Image_LoadFromFile, 1 );
rb_define_method( globalImageClass, "loadFromPixels", Image_LoadFromFile, 3 );
rb_define_method( globalImageClass, "loadFromPixels", Image_LoadFromPixels, 3 );
rb_define_method( globalImageClass, "saveToFile", Image_SaveToFile, 1 );
rb_define_method( globalImageClass, "create", Image_Create, -1 );
rb_define_method( globalImageClass, "createMaskFromColor", Image_CreateMaskFromColor, -1 );