From 4c928471c182761b6649415ff0614715f0247770 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 9 Apr 2003 02:32:56 +0000 Subject: Added function pointer typedefs for GL_NV_fragment_program --- include/GL/gl.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'include/GL/gl.h') diff --git a/include/GL/gl.h b/include/GL/gl.h index 57632f6bfa..2d7b9ba3ef 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 */ -- cgit v1.2.3