From: Brian Paul Date: Wed, 9 Apr 2003 02:32:56 +0000 (+0000) Subject: Added function pointer typedefs for GL_NV_fragment_program X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c928471c182761b6649415ff0614715f0247770;p=mesa.git Added function pointer typedefs for GL_NV_fragment_program --- diff --git a/include/GL/gl.h b/include/GL/gl.h index 57632f6bfa4..2d7b9ba3ef4 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -1,5 +1,3 @@ -/* $Id: gl.h,v 1.75 2003/02/28 16:31:32 brianp Exp $ */ - /* * Mesa 3-D graphics library * Version: 5.1 @@ -2705,6 +2703,13 @@ GLAPI void GLAPIENTRY glGetProgramLocalParameterfvARB(GLenum target, GLuint index, GLfloat *params); +typedef void (APIENTRY * PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRY * PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRY * PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte * name, const GLfloat *v); +typedef void (APIENTRY * PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte * name, const GLdouble *v); +typedef void (APIENTRY * PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte * name, GLfloat *params); +typedef void (APIENTRY * PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte * name, GLdouble *params); + #endif /* GL_NV_fragment_program */