14 Mar
2016
14 Mar
'16
12:41 p.m.
On 14 March 2016 at 00:03, Józef Kucia <jkucia(a)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?