diff options
author | Pauli Nieminen <suokkos@gmail.com> | 2009-08-21 18:29:06 +0300 |
---|---|---|
committer | Pauli Nieminen <suokkos@gmail.com> | 2009-08-21 19:12:30 +0300 |
commit | 12fe319c53187e9a316f8c26441040a84ae4efca (patch) | |
tree | ade29fcd17f127a81c1e648b354cb77955705d05 /src/mesa | |
parent | 11d3ec1f93fe49e6299c2ccae4d3bf0f5f39372e (diff) |
r300: Handle possible fall back if space check fails.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_draw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_draw.c b/src/mesa/drivers/dri/r300/r300_draw.c index d4246b386c..3cdb9dc2ed 100644 --- a/src/mesa/drivers/dri/r300/r300_draw.c +++ b/src/mesa/drivers/dri/r300/r300_draw.c @@ -611,6 +611,9 @@ static GLboolean r300TryDrawPrims(GLcontext *ctx, r300AllocDmaRegions(ctx, arrays, max_index + 1); + if (r300->fallback) + return GL_FALSE; + r300EmitCacheFlush(r300); radeonEmitState(&r300->radeon); |