Commit 7cae24fc authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: glReadPixels corrections.

parent 7d4163b5
......@@ -6440,8 +6440,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetRenderTargetData(IWineD3DDevice *i
FIXME("Reading of depthstencil not yet supported\n");
}
glReadPixels(surfaceGlDescription->target,
surfaceGlDescription->level,
glReadPixels(0,
0,
surfaceWidth,
surfaceHeight,
surfaceGlDescription->glFormat,
......
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