[PATCH 6/8] d3d10core/tests: Add test for ClearDepthStencilView().
Henri Verbeet
hverbeet at gmail.com
Mon Mar 14 07:41:38 CDT 2016
On 14 March 2016 at 00:03, Józef Kucia <jkucia at codeweavers.com> wrote:
> +static float get_readback_float(struct texture_readback *rb, unsigned int x, unsigned int y)
> +{
> + return rb->texture
> + ? ((float *)rb->mapped_texture.pData)[rb->mapped_texture.RowPitch * y / sizeof(float) + x] : NAN;
> +}
Can the texture ever legitimately be NULL?
More information about the wine-devel
mailing list