Sign in to follow this  

Stencil Buffer and Window Resize

This topic is 3728 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I made a simple program to try out stencil operations. After resizing the window, the screen goes blank. No rendering. The code for the WM_SIZE block is copied from another program, and resizing that application's window exhibits normal behavior. So I placed the StencilBufferSetup code inside the WM_SIZE block, and everything is fine now. I never knew resizing a window could invalidate a buffer. Can anyone explain why this is?

Share this post


Link to post
Share on other sites

This topic is 3728 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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