0 Members and 1 Guest are viewing this topic.
window.SetView(window.GetView());And the purpose of setting the view to the exact same current view is what?
When you call setView, the render-target keeps a copy of the view, not a pointer to the original one. So whenever you update your view, you need to call setView again to apply the modifications.Don't be afraid to copy views or to create them on the fly, they are lightweight objects (they just hold a few floats).