Fixed an error in Swapchain_GetFrontBufferData.

This commit is contained in:
Oliver Stieber 2005-11-08 10:55:49 +00:00 committed by Alexandre Julliard
parent 66775b90e3
commit f4e290ff46
1 changed files with 1 additions and 0 deletions

View File

@ -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;