Sign in to follow this  
SystemFiles

GetViewport needs to call every frame?

Recommended Posts

My question is if I call dev->GetViewport( &oViewport ), Do I need to call it again after changing the resolution or will the valau of oViewport change to the resolution without calling it.

Share this post


Link to post
Share on other sites
Quote:
Original post by Buckeye
You should call dev->SetViewport after you change the viewport structure to reflect a change in the size of the window client.


Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this