   Cant change the backbuffer on new swapchain
  Hello, it's me again.After reading a lot, I realized that I need help. I'm stuck here with swapchains.My goal is to have 2 windows with different stuff in both.It kind of works, but the second window doesnt have the correct backbuffer size.to put it simple: this shows an image (distorted)   PresentParameters newPP = device.PresentationParameters;  // newPP.BackBufferHeight = (int)texture_.Height;  // newPP.BackBufferWidth = (int)texture_.Width;   swap_chain = new SwapChain(device, newPP); but this doesnt show anything:   PresentParameters newPP = device.PresentationParameters; newPP.BackBufferHeight = (int)texture_.Height; newPP.BackBufferWidth = (int)texture_.Width;   swap_chain = new SwapChain(device, newPP);I read that you need to dispose of the backbuffer in order to change the size. But I'm not changing any size. I'm just creating a new swapchain with new parameters.And even then, I do it at the end of render: (this is the whole render of the one that's using the swap chain to render:)   Device device = project_data_.device_;   PresentParameters newPP = device.PresentationParameters;  // newPP.BackBufferHeight = (int)texture_.Height;  // newPP.BackBufferWidth = (int)texture_.Width;   swap_chain = new SwapChain(device, newPP);   Surface backBuffer = swap_chain.GetBackBuffer(0, BackBufferType.Mono);   device.SetRenderTarget(0, backBuffer);   device.Clear(ClearFlags.Target | ClearFlags.ZBuffer, Color.FromArgb(255, 0, 0, 0), 1.0f, 0);   device.BeginScene();  texture_.Draw2(0, 0, 0, 0, 0, texture_.Width, texture_.Height, Color.FromArgb(255, 255, 255, 255), image_picturebox.ClientSize);   device.EndScene();   swap_chain.Present(image_picturebox);   backBuffer.Dispose();   swap_chain.Dispose();it works like this, except the backbuffer cant be changed  and then the picture ends up badly upscaled   