On 14 March 2016 at 00:03, Józef Kucia jkucia@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?