965: fix vb upload size check
This commit is contained in:
parent
e149e1b953
commit
e92e3848e7
|
@ -418,9 +418,11 @@ int brw_prepare_vertices( struct brw_context *brw,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = dri_bufmgr_check_aperture_space(brw->vb.upload.bo);
|
if (brw->vb.upload.bo) {
|
||||||
if (ret)
|
ret = dri_bufmgr_check_aperture_space(brw->vb.upload.bo);
|
||||||
return 1;
|
if (ret)
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue