diff options
author | Keith Whitwell <[email protected]> | 2004-07-01 13:14:05 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2004-07-01 13:14:05 +0000 |
commit | 3d38361b718d490e1e7fda64519952ec887cd149 (patch) | |
tree | cb4aa9e3da58210f0ef4f4e6172b9b78892cc30a /src/mesa/drivers/dri/ffb | |
parent | c3c8c71846fb507b57282128d53ba9666e66fe03 (diff) |
Rename the various function types in t_context.h to include a tnl_ prefix.
Diffstat (limited to 'src/mesa/drivers/dri/ffb')
-rw-r--r-- | src/mesa/drivers/dri/ffb/ffb_tris.c | 12 | ||||
-rw-r--r-- | src/mesa/drivers/dri/ffb/ffb_vb.c | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/ffb/ffb_tris.c b/src/mesa/drivers/dri/ffb/ffb_tris.c index 62c74247b07..ca0e514dc0e 100644 --- a/src/mesa/drivers/dri/ffb/ffb_tris.c +++ b/src/mesa/drivers/dri/ffb/ffb_tris.c @@ -306,8 +306,8 @@ static void ffbRasterPrimitive(GLcontext *ctx, GLenum rprim); #define FFB_MAX_TRIFUNC 0x08 static struct { - triangle_func triangle; - quad_func quad; + tnl_triangle_func triangle; + tnl_quad_func quad; } rast_tab[FFB_MAX_TRIFUNC]; #define DO_OFFSET (IND & FFB_OFFSET_BIT) @@ -549,13 +549,13 @@ static void init_render_tab(void) render_tab_flat_alpha_tricull_elt; for (i = 0; i < MAX_FFB_RENDER_FUNCS; i++) { - render_func *rf = render_tabs[i]; - render_func *rfe = render_tabs_elt[i]; + tnl_render_func *rf = render_tabs[i]; + tnl_render_func *rfe = render_tabs_elt[i]; if (i & FFB_TRI_CULL_BIT) { int from_idx = (i & ~FFB_TRI_CULL_BIT); - render_func *rf_from = render_tabs[from_idx]; - render_func *rfe_from = render_tabs_elt[from_idx]; + tnl_render_func *rf_from = render_tabs[from_idx]; + tnl_render_func *rfe_from = render_tabs_elt[from_idx]; int j; for (j = GL_POINTS; j < GL_TRIANGLES; j++) { diff --git a/src/mesa/drivers/dri/ffb/ffb_vb.c b/src/mesa/drivers/dri/ffb/ffb_vb.c index 5b8e5923a5f..6ba1eabbf24 100644 --- a/src/mesa/drivers/dri/ffb/ffb_vb.c +++ b/src/mesa/drivers/dri/ffb/ffb_vb.c @@ -78,7 +78,7 @@ typedef void (*ffb_emit_func)(GLcontext *, GLuint, GLuint); static struct { ffb_emit_func emit; - interp_func interp; + tnl_interp_func interp; } setup_tab[FFB_VB_MAX]; |