Commit f4e290ff authored by Oliver Stieber's avatar Oliver Stieber Committed by Alexandre Julliard

Fixed an error in Swapchain_GetFrontBufferData.

parent 66775b90
...@@ -332,6 +332,7 @@ HRESULT WINAPI IWineD3DSwapChainImpl_GetFrontBufferData(IWineD3DSwapChain *iface ...@@ -332,6 +332,7 @@ HRESULT WINAPI IWineD3DSwapChainImpl_GetFrontBufferData(IWineD3DSwapChain *iface
TRACE("(%p) : iface(%p) pDestSurface(%p) \n", This, iface, pDestSurface); TRACE("(%p) : iface(%p) pDestSurface(%p) \n", This, iface, pDestSurface);
ENTER_GL(); ENTER_GL();
memset(&desc, 0, sizeof(desc));
desc.Width = &width; desc.Width = &width;
desc.Height = &height; desc.Height = &height;
desc.Format = &d3dformat; desc.Format = &d3dformat;
......
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