From e41c57758d30c59cf5986f50c6f2326815c6ac53 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 6 Sep 2002 03:30:20 +0000 Subject: fixed glSampleCoverage typo --- src/mesa/glapi/APIspec | 6 +++--- src/mesa/glapi/glapitemp.h | 7 ++++++- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'src/mesa/glapi') diff --git a/src/mesa/glapi/APIspec b/src/mesa/glapi/APIspec index f5b113d0a7..b2978de4dc 100644 --- a/src/mesa/glapi/APIspec +++ b/src/mesa/glapi/APIspec @@ -1,4 +1,4 @@ -# $Id: APIspec,v 1.10 2002/09/06 03:19:36 brianp Exp $ +# $Id: APIspec,v 1.11 2002/09/06 03:30:20 brianp Exp $ # This file describes all the OpenGL functions. # We use a number of Python scripts to parse this file and @@ -3526,8 +3526,8 @@ return void param m const GLdouble * category 1.3 -name SampleCover -alias SampleCoverageARBARB +name SampleCoverage +alias SampleCoverageARB return void param value GLclampf param invert GLboolean diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index 21acf56287..0f76b28750 100644 --- a/src/mesa/glapi/glapitemp.h +++ b/src/mesa/glapi/glapitemp.h @@ -2343,7 +2343,11 @@ KEYWORD1 void KEYWORD2 NAME(MultTransposeMatrixd)(const GLdouble * m) DISPATCH(MultTransposeMatrixdARB, (m), (F, "glMultTransposeMatrixd(%p);\n", (void *) m)); } -/* No dispatch for SampleCover() */ +KEYWORD1 void KEYWORD2 NAME(SampleCoverage)(GLclampf value, GLboolean invert) +{ + DISPATCH(SampleCoverageARB, (value, invert), (F, "glSampleCoverage(%f, %d);\n", value, invert)); +} + KEYWORD1 void KEYWORD2 NAME(CompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data) { DISPATCH(CompressedTexImage3DARB, (target, level, internalformat, width, height, depth, border, imageSize, data), (F, "glCompressedTexImage3D(0x%x, %d, 0x%x, %d, %d, %d, %d, %d, %p);\n", target, level, internalformat, width, height, depth, border, imageSize, (void *) data)); @@ -4998,6 +5002,7 @@ void *UNUSED_TABLE_NAME[] = { TABLE_ENTRY(LoadTransposeMatrixd), TABLE_ENTRY(MultTransposeMatrixf), TABLE_ENTRY(MultTransposeMatrixd), + TABLE_ENTRY(SampleCoverage), TABLE_ENTRY(CompressedTexImage3D), TABLE_ENTRY(CompressedTexImage2D), TABLE_ENTRY(CompressedTexImage1D), -- cgit v1.2.3