From 60f1a3c288dd663ff420fada558763d7524e499b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 29 May 2002 15:16:01 +0000 Subject: Added GL_NV_point_sprite functions: glPointParameteri[v]NV(). Removed dead ARB_window_pos functions (we alias the MESA_window_pos funcs). --- src/mesa/glapi/glapioffsets.h | 2 ++ src/mesa/glapi/glapitable.h | 2 ++ src/mesa/glapi/glapitemp.h | 12 ++++++++++++ 3 files changed, 16 insertions(+) (limited to 'src/mesa/glapi') diff --git a/src/mesa/glapi/glapioffsets.h b/src/mesa/glapi/glapioffsets.h index e810ecb4b5..2ecf718bbb 100644 --- a/src/mesa/glapi/glapioffsets.h +++ b/src/mesa/glapi/glapioffsets.h @@ -644,5 +644,7 @@ #define _gloffset_VertexAttribs4fvNV 639 #define _gloffset_VertexAttribs4svNV 640 #define _gloffset_VertexAttribs4ubvNV 641 +#define _gloffset_PointParameteriNV 642 +#define _gloffset_PointParameterivNV 643 #endif diff --git a/src/mesa/glapi/glapitable.h b/src/mesa/glapi/glapitable.h index aa3b449c33..2f98e9b1a1 100644 --- a/src/mesa/glapi/glapitable.h +++ b/src/mesa/glapi/glapitable.h @@ -648,6 +648,8 @@ struct _glapi_table void (*VertexAttribs4fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 639 */ void (*VertexAttribs4svNV)(GLuint index, GLsizei n, const GLshort * v); /* 640 */ void (*VertexAttribs4ubvNV)(GLuint index, GLsizei n, const GLubyte * v); /* 641 */ + void (*PointParameteriNV)(GLenum pname, GLint params); /* 642 */ + void (*PointParameterivNV)(GLenum pname, const GLint * params); /* 643 */ }; #endif diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index 298b591798..cf1976e9b8 100644 --- a/src/mesa/glapi/glapitemp.h +++ b/src/mesa/glapi/glapitemp.h @@ -3944,6 +3944,16 @@ KEYWORD1 void KEYWORD2 NAME(VertexAttribs4ubvNV)(GLuint index, GLsizei n, const DISPATCH(VertexAttribs4ubvNV, (index, n, v), (F, "glVertexAttribs4ubvNV(%d, %d, %p);\n", index, n, (void *) v)); } +KEYWORD1 void KEYWORD2 NAME(PointParameteriNV)(GLenum pname, GLint params) +{ + DISPATCH(PointParameteriNV, (pname, params), (F, "glPointParameteriNV(0x%x, %d);\n", pname, params)); +} + +KEYWORD1 void KEYWORD2 NAME(PointParameterivNV)(GLenum pname, const GLint * params) +{ + DISPATCH(PointParameterivNV, (pname, params), (F, "glPointParameterivNV(0x%x, %p);\n", pname, (void *) params)); +} + /* @@ -4599,6 +4609,8 @@ void *DISPATCH_TABLE_NAME[] = { TABLE_ENTRY(VertexAttribs4fvNV), TABLE_ENTRY(VertexAttribs4svNV), TABLE_ENTRY(VertexAttribs4ubvNV), + TABLE_ENTRY(PointParameteriNV), + TABLE_ENTRY(PointParameterivNV), /* A whole bunch of no-op functions. These might be called * when someone tries to call a dynamically-registered * extension function without a current rendering context. -- cgit v1.2.3