diff options
author | Ville Syrjälä <[email protected]> | 2015-03-23 14:47:23 +0200 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-09-23 09:57:46 -0700 |
commit | 84fec757de2f8c6ba47f2f56077993d62538711a (patch) | |
tree | 5e7bb9e2d9dcbd5cc4998fc1ef3fe01fc26e5786 /src/mesa/tnl_dd | |
parent | abbaf3301f2405adf61d2804706c00a391a1336e (diff) |
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ä <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/tnl_dd')
-rw-r--r-- | src/mesa/tnl_dd/t_dd_dmatmp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl_dd/t_dd_dmatmp.h b/src/mesa/tnl_dd/t_dd_dmatmp.h index b229f42c164..e7e19a03597 100644 --- a/src/mesa/tnl_dd/t_dd_dmatmp.h +++ b/src/mesa/tnl_dd/t_dd_dmatmp.h @@ -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), |