Fixed some missing reference in sfml-graphics initiation function. The shared classes has to be global and reacquired in each library for it to work.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1798 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
e63a8fe442
commit
1fad97be6d
5 changed files with 10 additions and 5 deletions
|
@ -162,7 +162,6 @@ void Init_window( void )
|
|||
rb_raise( rb_eRuntimeError, "This module depends on sfml-system" );
|
||||
}
|
||||
|
||||
|
||||
globalVector2Class = rb_define_class_under(globalSFMLNamespace, "Vector2", rb_cObject );
|
||||
globalNonCopyableModule = rb_define_module_under(globalSFMLNamespace, "NonCopyable");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue