Fixed an error in Swapchain_GetFrontBufferData.
This commit is contained in:
parent
66775b90e3
commit
f4e290ff46
|
@ -332,6 +332,7 @@ HRESULT WINAPI IWineD3DSwapChainImpl_GetFrontBufferData(IWineD3DSwapChain *iface
|
|||
|
||||
TRACE("(%p) : iface(%p) pDestSurface(%p) \n", This, iface, pDestSurface);
|
||||
ENTER_GL();
|
||||
memset(&desc, 0, sizeof(desc));
|
||||
desc.Width = &width;
|
||||
desc.Height = &height;
|
||||
desc.Format = &d3dformat;
|
||||
|
|
Loading…
Reference in New Issue