Made the classes that is non-copyable in the C++ library also non-copyable in rbSFML.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1738 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
cd04d29584
commit
30865b6ef9
10 changed files with 27 additions and 1 deletions
|
@ -32,6 +32,7 @@ VALUE globalRendererClass;
|
|||
extern VALUE globalColorClass;
|
||||
extern VALUE globalImageClass;
|
||||
extern VALUE globalShaderClass;
|
||||
extern VALUE globalNonCopyableModule;
|
||||
|
||||
/* call-seq:
|
||||
* renderer.saveGLStates()
|
||||
|
@ -336,6 +337,7 @@ void Init_Renderer( void )
|
|||
* SFML::Drawable class that uses raw geometry in its Render function.
|
||||
*/
|
||||
globalRendererClass = rb_define_class_under( sfml, "Renderer", rb_cObject );
|
||||
rb_include_module( globalRendererClass, globalNonCopyableModule );
|
||||
DefinePrimitiveTypesEnum();
|
||||
|
||||
// Instance methods
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue