Fixed some mistakes on my behalf and possibly the sf::RenderTarget::Draw segmentation fault. And I did it without dynamic cast!
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1717 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
90a61a6048
commit
2f46c7a85b
3 changed files with 27 additions and 13 deletions
|
@ -611,7 +611,7 @@ void Init_Drawable( void )
|
|||
globalDrawableModule = rb_define_module_under( sfml, "Drawable" );
|
||||
|
||||
// Class methods
|
||||
rb_define_module_method( globalDrawableModule, "included", Drawable_Included, 1 );
|
||||
rb_define_module_function( globalDrawableModule, "included", Drawable_Included, 1 );
|
||||
|
||||
// Instance methods
|
||||
rb_define_method( globalDrawableModule, "initialize", Drawable_Initialize, -1 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue