Added SFML::Context to the sfml-window library.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1600 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
groogy 2010-11-03 16:53:48 +00:00
parent 93d92ddb0d
commit f2176a98b4
3 changed files with 155 additions and 0 deletions

View file

@ -21,6 +21,7 @@
*/
#include "main.hpp"
#include "Context.hpp"
VALUE globalSFMLNamespace;
@ -33,4 +34,5 @@ void Init_window( void )
{
globalSFMLNamespace = rb_define_module( "SFML" );
rb_define_const(globalSFMLNamespace, "WindowLoaded", Qtrue);
Init_Context();
}