diff options
author | Dave Airlie <[email protected]> | 2009-10-14 15:13:25 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-10-14 15:13:25 +1000 |
commit | 210481ae16e966865dcf9f1fd5f5dfabf4dc28bc (patch) | |
tree | 98a2964441d45a93b7e80effd11fed2ed892a92a /src/gallium/drivers/r300/r300_emit.c | |
parent | 23c0c820e2767324546d450d2a7aa7bf1f70c36f (diff) |
r300g: attempt to make bo space check sane.
This attempts to make r300g do proper bo space checking as opposed
to whatever it was doing now.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 99deb50400f..64748ad8f81 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -658,6 +658,9 @@ void r300_emit_dirty_state(struct r300_context* r300) r300_update_derived_state(r300); + /* Clean out BOs. */ + r300->winsys->reset_bos(r300->winsys); + /* XXX check size */ validate: /* Color buffers... */ |