t_dd_dmatmp: Make the render_tab[]s const

These tables hold function pointers and they never change so
make them const.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Ville Syrjälä 2015-03-23 14:47:23 +02:00 committed by Ian Romanick
parent abbaf3301f
commit 84fec757de
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ static void TAG(render_noop)(struct gl_context *ctx,
(void) flags;
}
static tnl_render_func TAG(render_tab_verts)[GL_POLYGON+2] =
static const tnl_render_func TAG(render_tab_verts)[GL_POLYGON+2] =
{
TAG(render_points_verts),
TAG(render_lines_verts),