mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Fixed bug in sf.Window.GetSettings
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1158 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
06525907c1
commit
9bf53607d3
@ -227,7 +227,7 @@ PySfWindow_GetSettings(PySfWindow *self)
|
||||
{
|
||||
PySfWindowSettings *Settings;
|
||||
Settings = GetNewPySfWindowSettings();
|
||||
Settings->obj = (sf::WindowSettings *)&self->obj->GetSettings();
|
||||
Settings->obj = new sf::WindowSettings(self->obj->GetSettings());
|
||||
Settings->DepthBits = Settings->obj->DepthBits;
|
||||
Settings->StencilBits = Settings->obj->StencilBits;
|
||||
Settings->AntialiasingLevel = Settings->obj->AntialiasingLevel;
|
||||
|
Loading…
Reference in New Issue
Block a user