Thanks Neil,
I'll make that change. Should be simple enough.
--Jason
On Mon, Aug 4, 2014 at 10:51 AM, Neil Roberts wrote:
> One case where the memcpy path won't work is if the source and
> destination are the same buffer. In that case it tries to map the
> texture twice and hits an assert. I t
One case where the memcpy path won't work is if the source and
destination are the same buffer. In that case it tries to map the
texture twice and hits an assert. I think this could be a legitimate use
case if the source and destination rectangles don't overlap. The
extension spec isn't very clear
This, together with the meta path, provides a almost-complete implemetation
of ARB_copy_image. The only case that won't work is if one of the textures
is compressed and has a pitch greater than INT16_MAX. I think that's good
enough to justify turning on the extension.
v2: Add a fallback memcpy p