projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11d3ec1
)
r300: Handle possible fall back if space check fails.
author
Pauli Nieminen
<suokkos@gmail.com>
Fri, 21 Aug 2009 15:29:06 +0000
(18:29 +0300)
committer
Pauli Nieminen
<suokkos@gmail.com>
Fri, 21 Aug 2009 16:12:30 +0000
(19:12 +0300)
src/mesa/drivers/dri/r300/r300_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_draw.c
b/src/mesa/drivers/dri/r300/r300_draw.c
index d4246b386caaafc1b3570d9ce1672c9a1b65d8a4..3cdb9dc2edb256e7a155c3a5a89605eb4ce5b1b2 100644
(file)
--- 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);