From 3d38361b718d490e1e7fda64519952ec887cd149 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 1 Jul 2004 13:14:05 +0000 Subject: Rename the various function types in t_context.h to include a tnl_ prefix. --- src/mesa/drivers/dri/gamma/gamma_render.c | 2 +- src/mesa/drivers/dri/gamma/gamma_tris.c | 8 ++++---- src/mesa/drivers/dri/gamma/gamma_vb.c | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/mesa/drivers/dri/gamma') diff --git a/src/mesa/drivers/dri/gamma/gamma_render.c b/src/mesa/drivers/dri/gamma/gamma_render.c index 6454bb9780..ce8b83934c 100644 --- a/src/mesa/drivers/dri/gamma/gamma_render.c +++ b/src/mesa/drivers/dri/gamma/gamma_render.c @@ -177,7 +177,7 @@ static GLboolean gamma_run_render( GLcontext *ctx, TNLcontext *tnl = TNL_CONTEXT(ctx); struct vertex_buffer *VB = &tnl->vb; GLuint i; - render_func *tab; + tnl_render_func *tab; /* GH: THIS IS A HACK!!! */ if (VB->ClipOrMask || gmesa->RenderIndex != 0) diff --git a/src/mesa/drivers/dri/gamma/gamma_tris.c b/src/mesa/drivers/dri/gamma/gamma_tris.c index da7ae5e247..83bf56a141 100644 --- a/src/mesa/drivers/dri/gamma/gamma_tris.c +++ b/src/mesa/drivers/dri/gamma/gamma_tris.c @@ -275,10 +275,10 @@ do { \ static struct { - points_func points; - line_func line; - triangle_func triangle; - quad_func quad; + tnl_points_func points; + tnl_line_func line; + tnl_triangle_func triangle; + tnl_quad_func quad; } rast_tab[GAMMA_MAX_TRIFUNC]; diff --git a/src/mesa/drivers/dri/gamma/gamma_vb.c b/src/mesa/drivers/dri/gamma/gamma_vb.c index f2dd0d8de0..80d35cba9e 100644 --- a/src/mesa/drivers/dri/gamma/gamma_vb.c +++ b/src/mesa/drivers/dri/gamma/gamma_vb.c @@ -51,8 +51,8 @@ static struct { void (*emit)( GLcontext *, GLuint, GLuint, void *, GLuint ); - interp_func interp; - copy_pv_func copy_pv; + tnl_interp_func interp; + tnl_copy_pv_func copy_pv; GLboolean (*check_tex_sizes)( GLcontext *ctx ); GLuint vertex_size; GLuint vertex_format; -- cgit v1.2.3