aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCooper Yuan <[email protected]>2009-06-25 19:48:43 +0800
committerCooper Yuan <[email protected]>2009-06-25 19:48:43 +0800
commiteaadba6eee05cd725295821e0c1f5e1a01e99e89 (patch)
tree1f4ceeaa211821484d5abc5c53c36933dafe03b1
parent5e1534f532330a19fd61cb3d28d48f51a7eafc4e (diff)
Fix color data can't be fetched issue
-rw-r--r--src/mesa/drivers/dri/r600/r600_cmdbuf.c2
-rw-r--r--src/mesa/drivers/dri/r600/r700_clear.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_cmdbuf.c b/src/mesa/drivers/dri/r600/r600_cmdbuf.c
index 5edc42b5327..90f546edf1e 100644
--- a/src/mesa/drivers/dri/r600/r600_cmdbuf.c
+++ b/src/mesa/drivers/dri/r600/r600_cmdbuf.c
@@ -288,7 +288,7 @@ restart:
relocs[i].base.bo, soffset, eoffset);
return r;
}
- asicoffset = cs->packets[relocs[i].indices[j]] + soffset;
+ asicoffset = soffset;
if (asicoffset >= eoffset)
{
/* radeon_bo_debug(relocs[i].base.bo, 12); */
diff --git a/src/mesa/drivers/dri/r600/r700_clear.c b/src/mesa/drivers/dri/r600/r700_clear.c
index f142aafd03e..b04441da281 100644
--- a/src/mesa/drivers/dri/r600/r700_clear.c
+++ b/src/mesa/drivers/dri/r600/r700_clear.c
@@ -63,9 +63,6 @@ void r700Clear(GLcontext * ctx, GLbitfield mask)
int i;
struct gl_framebuffer *fb = ctx->DrawBuffer;
- /* XXX FIXME */
- return;
-
if( GL_TRUE == r700ClearFast(context, mask) )
{
return;