mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
name parameter to glGetActiveAttribARB() should not be const.
Added shaderobjects.c to sources file.
This commit is contained in:
parent
af7a807650
commit
fa557e904d
4 changed files with 5 additions and 4 deletions
|
|
@ -5528,7 +5528,7 @@
|
|||
<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">
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue