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