wined3d: glReadPixels corrections.
This commit is contained in:
parent
7d4163b5fa
commit
7cae24fc36
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue