wined3d: CreateAdditionalSwapChain bugfix.
This commit is contained in:
parent
6357676c54
commit
dc7252a1f8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue