intel: GL_FALSE on a BO if it won't be modified when mapping this BO. (thanks Eric).

This commit is contained in:
Xiang, Haihao 2008-10-26 06:31:33 +08:00
parent ec8076264e
commit 2a877411db
1 changed files with 1 additions and 1 deletions

View File

@ -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,