Added ContextSettings to the window library.

Also changed an exception type in Context.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1602 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
groogy 2010-11-03 20:01:20 +00:00
parent 01edb04ad5
commit 8c3ec2b353
4 changed files with 260 additions and 1 deletions

View file

@ -66,7 +66,7 @@ static VALUE Context_SetActive( VALUE self, VALUE anArgument )
object->SetActive( false );
break;
default:
rb_raise( rb_eRuntimeError, "expected true or false" );
rb_raise( rb_eTypeError, "expected true or false" );
}
return Qnil;
}