mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 12:51:05 +08:00
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:
parent
ee117bb749
commit
d4e60f3a2a
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user