diff options
author | Dave Airlie <[email protected]> | 2009-02-14 20:13:04 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-02-14 20:13:55 +1000 |
commit | f8c2beccd4847836dec18849d2d58f3220ff81eb (patch) | |
tree | d459489e8f04cb3976273a88c72d590d8898864e /src/mesa/drivers/dri/r200 | |
parent | fd81835dc7ac71eac2a5fcc58080b9b4c6944c83 (diff) |
r200: fixup cube emit debug
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_state_init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_state_init.c b/src/mesa/drivers/dri/r200/r200_state_init.c index 3d0ebff7c43..0366fc0fbe4 100644 --- a/src/mesa/drivers/dri/r200/r200_state_init.c +++ b/src/mesa/drivers/dri/r200/r200_state_init.c @@ -567,10 +567,9 @@ static void cube_emit(GLcontext *ctx, struct radeon_state_atom *atom) radeonTexObj *t = r200->state.texture.unit[i].texobj; GLuint size; - BEGIN_BATCH_NO_AUTOSTATE(dwords); + BEGIN_BATCH_NO_AUTOSTATE(dwords + (2 * 5)); OUT_BATCH_TABLE(atom->cmd, 3); - fprintf(stderr,"total size is %d\n", t->mt->totalsize); if (t && !t->image_override) { size = t->mt->totalsize / 6; OUT_BATCH_RELOC(0, t->mt->bo, size, RADEON_GEM_DOMAIN_VRAM, 0, 0); |