diff options
author | Xiang, Haihao <[email protected]> | 2008-10-26 06:31:33 +0800 |
---|---|---|
committer | Xiang, Haihao <[email protected]> | 2008-10-26 06:38:27 +0800 |
commit | 2a877411dbe35abdd8c15fb4821d9232619d89cc (patch) | |
tree | b7bd9de78cf6b98d916e38233585e27feb7d1aef | |
parent | ec8076264ea2390d4cb749be5c88bbf2bf5d4847 (diff) |
intel: GL_FALSE on a BO if it won't be modified when mapping this BO. (thanks Eric).
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_blit.c b/src/mesa/drivers/dri/intel/intel_blit.c index 081d1dd238a..3c1f7f62456 100644 --- a/src/mesa/drivers/dri/intel/intel_blit.c +++ b/src/mesa/drivers/dri/intel/intel_blit.c @@ -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, |