wined3d: glReadPixels corrections.

This commit is contained in:
Stefan Dösinger 2006-11-03 19:12:27 +01:00 committed by Alexandre Julliard
parent 7d4163b5fa
commit 7cae24fc36
1 changed files with 2 additions and 2 deletions

View File

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