mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
intel: GL_FALSE on a BO if it won't be modified when mapping this BO. (thanks Eric).
This commit is contained in:
parent
ec8076264e
commit
2a877411db
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ intelEmitCopyBlit(struct intel_context *intel,
|
|||
}
|
||||
|
||||
dri_bo_map(dst_buffer, GL_TRUE);
|
||||
dri_bo_map(src_buffer, GL_TRUE);
|
||||
dri_bo_map(src_buffer, GL_FALSE);
|
||||
_mesa_copy_rect((GLubyte *)dst_buffer->virtual + dst_offset,
|
||||
cpp,
|
||||
dst_pitch,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue