Sign in to follow this  
impulsionaudio

Screen Resolution in Win32

Recommended Posts

I am developing a tool whose window can be resized. In order to keep from having to reset the D3D device I was thinking I would set the back buffer size to be the screen resolution so that there would be plenty of room to resize the window, and then just update the viewport upon resizing. The problem is, when I initialize the device and specify the back buffer size in the D3DPRESENT_PARAMETERS, I can't find a way to get the current screen resolution in Win32 to initialize the back buffer. Anyone know how to do this? 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