From b3f16c43508e2875d755e41aba0cd31e3d076d02 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 7 Mar 2000 17:11:29 +0000 Subject: added target parameter to Driver.TexEnv() --- src/mesa/main/dd.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/mesa/main/dd.h') diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 7366542512..78397c4643 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -1,4 +1,4 @@ -/* $Id: dd.h,v 1.15 2000/03/03 18:55:45 brianp Exp $ */ +/* $Id: dd.h,v 1.16 2000/03/07 17:11:29 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -564,12 +564,10 @@ struct dd_function_table { *** Texture mapping functions: ***/ - void (*TexEnv)( GLcontext *ctx, GLenum pname, const GLfloat *param ); + void (*TexEnv)( GLcontext *ctx, GLenum target, GLenum pname, + const GLfloat *param ); /* * Called whenever glTexEnv*() is called. - * Pname will be one of GL_TEXTURE_ENV_MODE or GL_TEXTURE_ENV_COLOR. - * If pname is GL_TEXTURE_ENV_MODE then param will be one - * of GL_MODULATE, GL_BLEND, GL_DECAL, or GL_REPLACE. */ void (*TexImage)( GLcontext *ctx, GLenum target, -- cgit v1.2.3