Added functions and overloads to sf::Rect
Slightly changed the sf::View interface git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1138 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
92e79b8123
commit
b86c4627ab
12 changed files with 276 additions and 162 deletions
|
@ -175,7 +175,7 @@ void RenderTarget::Initialize()
|
|||
SetRenderStates();
|
||||
|
||||
// Setup the default view
|
||||
myDefaultView.SetFromRect(FloatRect(0, 0, static_cast<float>(GetWidth()), static_cast<float>(GetHeight())));
|
||||
myDefaultView.SetRect(FloatRect(0, 0, static_cast<float>(GetWidth()), static_cast<float>(GetHeight())));
|
||||
SetView(myDefaultView);
|
||||
|
||||
Activate(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue