Skip to content

Commit b2b69c9

Browse files
refactor(gles): document Buffer::map_flags
1 parent bf9f752 commit b2b69c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wgpu-hal/src/gles/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ pub struct Buffer {
345345
raw: Option<glow::Buffer>,
346346
target: BindTarget,
347347
size: wgt::BufferAddress,
348+
/// Flags to use within calls to [`Device::map_buffer`].
348349
map_flags: u32,
349350
data: Option<Arc<MaybeMutex<Vec<u8>>>>,
350351
offset_of_current_mapping: Arc<MaybeMutex<wgt::BufferAddress>>,

0 commit comments

Comments
 (0)