Jump to content

  • Log In with Google      Sign In   
  • Create Account

about reset and swanchain


Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1   Members   

130
Like
0Likes
Like

Posted 15 January 2014 - 11:45 PM

hello,i have a problem.

 

how did reset function work to swapchain.

 

when i have one swapchain , i will reset the device when the window's size is changed.

 

but if i have two swapchain, each associate to one windows,and  just one window's size changed ,then i called reset ,will it work to another window?

 

is anyone know how to do ?



#2   Members   

24837
Like
0Likes
Like

Posted 15 January 2014 - 11:52 PM

You don’t call IDirect3DDevice9::Reset() for other swap chains.  Just resize their buffers (release the swap chain and create it again after changing its D3DPRESENT_PARAMETERS input).

 

 

L. Spiro






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.