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:
parent
01edb04ad5
commit
8c3ec2b353
4 changed files with 260 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue