1
Window / Change the View without having the source instance?
« on: December 01, 2011, 04:23:05 pm »
Hey, thanks for your reply.
But how can I change it in SFML 2?
I have setup SFML 2 now, but I don´t get the view changed.
I tried the following:
But boths methods are not working
EDIT: It was my fault.
The second method is working. But my main-loop was resetting it always
Thanks for your help
But how can I change it in SFML 2?
I have setup SFML 2 now, but I don´t get the view changed.
I tried the following:
Code: [Select]
((sf::View) App->GetView()).Zoom(1.5f);
//way number 2
sf::View View(App->GetView());
View.Zoom(1.5f);
App->SetView(View);
But boths methods are not working

EDIT: It was my fault.

The second method is working. But my main-loop was resetting it always

Thanks for your help
