diff options
author | Michal Krol <[email protected]> | 2006-05-16 09:40:30 +0000 |
---|---|---|
committer | Michal Krol <[email protected]> | 2006-05-16 09:40:30 +0000 |
commit | a1a02e62034e051fb574ae6fea694a46290688c6 (patch) | |
tree | 4455e7e7a1616b8ad92834eca9944ef1e32a3ba8 /src/mesa/shader/shaderobjects.h | |
parent | 32c2f939e6ddf840285c40253f78e025d4377d61 (diff) |
Cleanup GLhandle-to-object translation macros.
Fix minor bugs.
Diffstat (limited to 'src/mesa/shader/shaderobjects.h')
-rw-r--r-- | src/mesa/shader/shaderobjects.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mesa/shader/shaderobjects.h b/src/mesa/shader/shaderobjects.h index 86a069ad6a9..818049d17b2 100644 --- a/src/mesa/shader/shaderobjects.h +++ b/src/mesa/shader/shaderobjects.h @@ -57,7 +57,8 @@ struct gl2_generic_intf GLenum (* GetType) (struct gl2_generic_intf **); GLhandleARB (* GetName) (struct gl2_generic_intf **); GLboolean (* GetDeleteStatus) (struct gl2_generic_intf **); - const GLcharARB *(* GetInfoLog) (struct gl2_generic_intf **); + GLvoid (* GetInfoLog) (struct gl2_generic_intf **, GLsizei, GLcharARB *); + GLsizei (* GetInfoLogLength) (struct gl2_generic_intf **); }; struct gl2_container_intf @@ -87,8 +88,8 @@ struct gl2_program_intf GLvoid (* Link) (struct gl2_program_intf **); GLvoid (* Validate) (struct gl2_program_intf **); GLvoid (* UpdateFixedUniforms) (struct gl2_program_intf **); - GLvoid (* UpdateFixedAttribute) (struct gl2_program_intf **, GLuint, GLvoid *, GLuint, GLuint, - GLboolean); + GLvoid (* UpdateFixedAttrib) (struct gl2_program_intf **, GLuint, GLvoid *, GLuint, GLuint, + GLboolean); GLvoid (* UpdateFixedVarying) (struct gl2_program_intf **, GLuint, GLvoid *, GLuint, GLuint, GLboolean); GLvoid (* GetTextureImageUsage) (struct gl2_program_intf **, GLbitfield *); @@ -106,6 +107,7 @@ struct gl2_program_intf GLuint (* GetActiveAttribCount) (struct gl2_program_intf **); GLint (* GetAttribLocation) (struct gl2_program_intf **, const GLchar *name); GLvoid (* OverrideAttribBinding) (struct gl2_program_intf **, GLuint, const GLchar *); + GLvoid (* WriteAttrib) (struct gl2_program_intf **, GLuint, const GLfloat *); GLvoid (* UpdateVarying) (struct gl2_program_intf **, GLuint, GLfloat *, GLboolean); }; |