mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
Forgot to add a negative sign before the one when specifying the amount of arguments SFML::Image#initialize takes.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1751 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
add3608e72
commit
9b25dc5641
@ -628,7 +628,7 @@ void Init_Image( void )
|
|||||||
rb_define_singleton_method( globalImageClass, "getMaximumSize", Image_GetMaximumSize, 0 );
|
rb_define_singleton_method( globalImageClass, "getMaximumSize", Image_GetMaximumSize, 0 );
|
||||||
|
|
||||||
// Instance methods
|
// Instance methods
|
||||||
rb_define_method( globalImageClass, "initialize", Image_Initialize, 1 );
|
rb_define_method( globalImageClass, "initialize", Image_Initialize, -1 );
|
||||||
rb_define_method( globalImageClass, "initialize_copy", Image_InitializeCopy, 1 );
|
rb_define_method( globalImageClass, "initialize_copy", Image_InitializeCopy, 1 );
|
||||||
rb_define_method( globalImageClass, "loadFromFile", Image_LoadFromFile, 1 );
|
rb_define_method( globalImageClass, "loadFromFile", Image_LoadFromFile, 1 );
|
||||||
rb_define_method( globalImageClass, "loadFromPixels", Image_LoadFromPixels, 3 );
|
rb_define_method( globalImageClass, "loadFromPixels", Image_LoadFromPixels, 3 );
|
||||||
|
Loading…
Reference in New Issue
Block a user