Commit 1a5e4061 authored by Beth Rennie's avatar Beth 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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2422,7 +2422,7 @@ impl Device {
                    gl::PIXEL_PACK_BUFFER,
                    0,
                    pbo.reserved_size as _,
                    gl::READ_ONLY)
                    gl::MAP_READ_BIT)
            }
        };