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 milaoshu1982   Members   -  Reputation: 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 ?



Sponsor:

#2 L. Spiro   Crossbones+   -  Reputation: 14446

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


It is amazing how often people try to be unique, and yet they are always trying to make others be like them. - L. Spiro 2011
I spent most of my life learning the courage it takes to go out and get what I want. Now that I have it, I am not sure exactly what it is that I want. - L. Spiro 2013
I went to my local Subway once to find some guy yelling at the staff. When someone finally came to take my order and asked, “May I help you?”, I replied, “Yeah, I’ll have one asshole to go.”
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums




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.



PARTNERS