r300: reset bos when validating buffers during blit

This commit is contained in:
Maciej Cencora
2010-02-06 18:25:36 +01:00
committed by Alex Deucher
parent 8ccd83ab92
commit 62b3321d7d
+3
View File
@@ -381,6 +381,9 @@ static GLboolean validate_buffers(struct r300_context *r300,
struct radeon_bo *dst_bo)
{
int ret;
radeon_cs_space_reset_bos(r300->radeon.cmdbuf.cs);
ret = radeon_cs_space_check_with_bo(r300->radeon.cmdbuf.cs,
src_bo, RADEON_GEM_DOMAIN_VRAM, 0);
if (ret)