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 41f9445f97a5ab6d6fdbcfcfd20c2c95d2989c63..2d99c8576f0eef98cf4bc56cc95bf53f57e89391 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 */