diff options
author | Keith Whitwell <[email protected]> | 2004-07-01 12:01:59 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2004-07-01 12:01:59 +0000 |
commit | f8b1825f9725f5d270ecf52f560e59ce651de254 (patch) | |
tree | 52a4c43ab4c25a031bf71078a26acfc7ba30e955 /src/mesa/drivers/dri/sis | |
parent | 869fc59b63ee99ced26fbfa02492abb8cd16586d (diff) |
Rename 'emit_func' usages in drivers. Will also rename the ones in
t_context.h.
Diffstat (limited to 'src/mesa/drivers/dri/sis')
-rw-r--r-- | src/mesa/drivers/dri/sis/sis_tris.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_tris.c b/src/mesa/drivers/dri/sis/sis_tris.c index 7716a5b5608..56676b04cf4 100644 --- a/src/mesa/drivers/dri/sis/sis_tris.c +++ b/src/mesa/drivers/dri/sis/sis_tris.c @@ -905,7 +905,7 @@ sisFlushPrimsLocked(sisContextPtr smesa) mEndPrimitive(); } else { int mmio_index = 0, incr = 0; - void (*emit_func)(sisContextPtr smesa, char *verts) = NULL; + void (*sis_emit_func)(sisContextPtr smesa, char *verts) = NULL; if (smesa->AGPParseSet & MASK_PsShadingSmooth) mmio_index |= VERT_SMOOTH; @@ -921,22 +921,22 @@ sisFlushPrimsLocked(sisContextPtr smesa) switch (smesa->AGPParseSet & MASK_PsDataType) { case MASK_PsPointList: incr = smesa->vertex_size * 4; - emit_func = sis_point_func_mmio[mmio_index]; + sis_emit_func = sis_point_func_mmio[mmio_index]; break; case MASK_PsLineList: incr = smesa->vertex_size * 4 * 2; - emit_func = sis_line_func_mmio[mmio_index]; + sis_emit_func = sis_line_func_mmio[mmio_index]; break; case MASK_PsTriangleList: incr = smesa->vertex_size * 4 * 3; - emit_func = sis_tri_func_mmio[mmio_index]; + sis_emit_func = sis_tri_func_mmio[mmio_index]; break; } mWait3DCmdQueue(1); MMIO(REG_3D_PrimitiveSet, smesa->dwPrimitiveSet); while (smesa->vb_last < smesa->vb_cur) { - emit_func(smesa, smesa->vb_last); + sis_emit_func(smesa, smesa->vb_last); smesa->vb_last += incr; } mWait3DCmdQueue(1); |