diff options
author | Stephane Marchesin <[email protected]> | 2006-11-19 20:18:45 +0000 |
---|---|---|
committer | Stephane Marchesin <[email protected]> | 2006-11-19 20:18:45 +0000 |
commit | 327e2c9220772724173ae7c53f4215400ed94355 (patch) | |
tree | 0eb138d2791dedd95c434b847042418f80444b21 /src/mesa/drivers/dri/nouveau/nouveau_fifo.h | |
parent | a7139168d29e2cb112227ee6f2b5967c34eb91bd (diff) |
New swtcl implementation. It's simpler than the previous one (doesn't use
templates) and it is probably faster as well
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_fifo.h')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_fifo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_fifo.h b/src/mesa/drivers/dri/nouveau/nouveau_fifo.h index c5e5d6934fe..39e67176de8 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_fifo.h +++ b/src/mesa/drivers/dri/nouveau/nouveau_fifo.h @@ -74,7 +74,7 @@ int i; printf("OUT_RINGp:\n"); for(i=0;i<sz;i+=4) printf(" 0x%8x\n", ptr+sz); #define OUT_RINGp(ptr,sz) do{ \ memcpy(nmesa->fifo.buffer+nmesa->fifo.current,ptr,sz); \ - nmesa->fifo.current+=(sz/sizeof(*ptr)); \ + nmesa->fifo.current+=(sz/4); \ }while(0) #define OUT_RING(n) do { \ |