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:
parent
abbaf3301f
commit
84fec757de
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue