make tnl_clipspace_attr->insert field const, to silence warning
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 16 Jan 2005 17:59:50 +0000 (17:59 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 16 Jan 2005 17:59:50 +0000 (17:59 +0000)
src/mesa/tnl/t_context.h

index 41f9445..2d99c85 100644 (file)
@@ -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 */