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 );
|
||||
|
||||
// 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, "loadFromFile", Image_LoadFromFile, 1 );
|
||||
rb_define_method( globalImageClass, "loadFromPixels", Image_LoadFromPixels, 3 );
|
||||
|
@ -83,7 +83,7 @@ void Init_graphics( void )
|
||||
rb_define_const(globalSFMLNamespace, "GraphicsLoaded", Qtrue);
|
||||
|
||||
CreateBlendEnum();
|
||||
|
||||
|
||||
Init_Color();
|
||||
Init_Rect();
|
||||
Init_Drawable();
|
||||
|
Loading…
Reference in New Issue
Block a user