Jump to content
  • Advertisement
Sign in to follow this  

d3d swap chains

This topic is 5058 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've just got multiple render windows working( in an MFC app ) by creating a swap chain for each one, then in the OnDraw function of each window, setting the render target to the back buffer associated with the swap chain, then doing the usual Clear, BeginScene, EndScene, Present cycle..... My problem is that if I create each swap chain with a back buffer size of more than 500 * 500 pixels, the contents of the buffer when displayed is just seemingly random video memory. Creating each swap chain with a back buffer size of less than or equal to 500 * 500 pixels works fine !. Is there a limit to the size of backbuffers you can create for swap chains ? It doesn't say this anywhere in the documentation and I get no errors returned from IDirect3DSwapChain9::CreateAdditionalSwapChain even when my back buffers are larger than 500*500 pixels. Anyone have any ideas ? Thanks.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!