Commit dc7252a1 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

wined3d: CreateAdditionalSwapChain bugfix.

parent 6357676c
......@@ -1361,7 +1361,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateAdditionalSwapChain(IWineD3DDevic
if (pPresentationParameters->Windowed &&
((pPresentationParameters->BackBufferWidth == 0) ||
(pPresentationParameters->BackBufferHeight == 0))) {
(pPresentationParameters->BackBufferHeight == 0) ||
(pPresentationParameters->BackBufferFormat == WINED3DFMT_UNKNOWN))) {
RECT Rect;
GetClientRect(object->win_handle, &Rect);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment