From c07ec046b7492602f32f9139a13bfcc8db0253c3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 16 Jan 2005 17:59:50 +0000 Subject: make tnl_clipspace_attr->insert field const, to silence warning --- src/mesa/tnl/t_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index 41f9445f97a..2d99c8576f0 100644 --- a/src/mesa/tnl/t_context.h +++ b/src/mesa/tnl/t_context.h @@ -552,7 +552,7 @@ struct tnl_clipspace_attr GLuint vertattrsize; /* size of the attribute in bytes */ GLubyte *inputptr; GLuint inputstride; - tnl_insert_func *insert; + const tnl_insert_func *insert; tnl_insert_func emit; tnl_extract_func extract; const GLfloat *vp; /* NDC->Viewport mapping matrix */ -- cgit v1.2.3