mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
wined3d: Update the auto depth stencil buffer size on reset.
This commit is contained in:
parent
b706a62aff
commit
c1538f8048
@ -6901,6 +6901,10 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Reset(IWineD3DDevice* iface, WINED3DPRE
|
||||
for(i = 0; i < swapchain->presentParms.BackBufferCount; i++) {
|
||||
updateSurfaceDesc((IWineD3DSurfaceImpl *)swapchain->backBuffer[i], pPresentationParameters);
|
||||
}
|
||||
if(This->auto_depth_stencil_buffer) {
|
||||
updateSurfaceDesc((IWineD3DSurfaceImpl *)This->auto_depth_stencil_buffer, pPresentationParameters);
|
||||
}
|
||||
|
||||
|
||||
/* Now set the new viewport */
|
||||
IWineD3DDevice_SetViewport(iface, &vp);
|
||||
|
Loading…
Reference in New Issue
Block a user