summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2005-11-01 16:59:13 +0000
committerAapo Tahkola <aet@rasterburn.org>2005-11-01 16:59:13 +0000
commit6aa6d440d9d312cb984020e746aa80c3dbf6ea2c (patch)
treec1893fb63278d7a8010ed421dc378b538071c942 /src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c
parente7d6bb9dc41433803bcaad671ea2cf3bf628e0be (diff)
Re-enable fallbacks.
Diffstat (limited to 'src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c')
-rw-r--r--src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c b/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c
index 34fe0952fe..628b89f3d5 100644
--- a/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c
+++ b/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c
@@ -18,7 +18,11 @@ static int setup_arrays(r300ContextPtr rmesa, GLint start)
GLcontext *ctx;
GLuint enabled = 0;
- ctx = rmesa->radeon.glCtx;
+ ctx = rmesa->radeon.glCtx;
+ if (r300Fallback(ctx)) {
+ WARN_ONCE("No fallbacks in vtxftm_a yet.\n");
+ //return -1;
+ }
memset(rmesa->state.VB.AttribPtr, 0, VERT_ATTRIB_MAX*sizeof(struct dt));