name parameter to glGetActiveAttribARB() should not be const.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 28 Oct 2004 21:03:19 +0000 (21:03 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 28 Oct 2004 21:03:19 +0000 (21:03 +0000)
Added shaderobjects.c to sources file.

src/mesa/glapi/gl_API.xml
src/mesa/glapi/glapitable.h
src/mesa/glapi/glapitemp.h
src/mesa/sources

index 2a3c69a248d599351505788add6455a3303ce3bf..97772c84f52ab58c2867fc89a71bf247d67f6f2a 100644 (file)
         <param name="length" type="GLsizei *" output="true"/>
         <param name="size" type="GLint *" output="true"/>
         <param name="type" type="GLenum *" output="true"/>
-        <param name="name" type="const GLcharARB *"/>
+        <param name="name" type="GLcharARB *"/>
     </function>
 
     <function name="GetAttribLocationARB" offset="752">
index 578bdfe0390dee21a68c4bcefacc85fb7d16d083..c00d74c4317ee034cd721aafa42b724ce11daa01 100644 (file)
@@ -786,7 +786,7 @@ struct _glapi_table
    void (GLAPIENTRYP GetUniformivARB)(GLhandleARB programObj, GLint location, GLint * params); /* 748 */
    void (GLAPIENTRYP GetShaderSourceARB)(GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * source); /* 749 */
    void (GLAPIENTRYP BindAttribLocationARB)(GLhandleARB programObj, GLuint index, const GLcharARB * name); /* 750 */
-   void (GLAPIENTRYP GetActiveAttribARB)(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, const GLcharARB * name); /* 751 */
+   void (GLAPIENTRYP GetActiveAttribARB)(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); /* 751 */
    GLint (GLAPIENTRYP GetAttribLocationARB)(GLhandleARB programObj, const GLcharARB * name); /* 752 */
 };
 
index ebf5b124a175f3dad54188bf5b01442f9fc980cf..c9dd6ca49b6a0b6362acb24559a1c41ba2db8afe 100644 (file)
@@ -3825,7 +3825,7 @@ KEYWORD1 void KEYWORD2 NAME(BindAttribLocationARB)(GLhandleARB programObj, GLuin
    DISPATCH(BindAttribLocationARB, (programObj, index, name), (F, "glBindAttribLocationARB(%d, %d, %p);\n", programObj, index, (const void *) name));
 }
 
-KEYWORD1 void KEYWORD2 NAME(GetActiveAttribARB)(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, const GLcharARB * name)
+KEYWORD1 void KEYWORD2 NAME(GetActiveAttribARB)(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name)
 {
    DISPATCH(GetActiveAttribARB, (programObj, index, maxLength, length, size, type, name), (F, "glGetActiveAttribARB(%d, %d, %d, %p, %p, %p, %p);\n", programObj, index, maxLength, (const void *) length, (const void *) size, (const void *) type, (const void *) name));
 }
index f82d344bf582605d4d54578c20a3fc5ff8a451b5..404249d04794e3036911354e16f652179fa94806 100644 (file)
@@ -143,7 +143,8 @@ SHADER_SOURCES = \
        shader/nvprogram.c \
        shader/nvvertexec.c \
        shader/nvvertparse.c \
-       shader/program.c
+       shader/program.c \
+       shader/shaderobjects.c
 
 ASM_C_SOURCES =        \
        x86/common_x86.c \