Commit 1a5e4061 authored by Barret Rennie's avatar Barret Rennie
Browse files

Bug 1551353 - Correctly map PBOs for readback on GLES r=kvark

The implementation of `Device::map_pbo_for_readback` on GLES (e.g., Windows
with ANGLE) was using the incorrect enumeration value when attempting to map
the buffer into memory.

Differential Revision: https://phabricator.services.mozilla.com/D31156

--HG--
extra : moz-landing-system : lando
parent d095d355
......@@ -2422,7 +2422,7 @@ impl Device {
gl::PIXEL_PACK_BUFFER,
0,
pbo.reserved_size as _,
gl::READ_ONLY)
gl::MAP_READ_BIT)
}
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment