added target parameter to Driver.TexEnv()

This commit is contained in:
Brian Paul
2000-03-07 17:11:29 +00:00
parent e02ffc1226
commit b3f16c4350
4 changed files with 7 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: texstate.c,v 1.7 2000/02/08 01:45:22 brianp Exp $ */
/* $Id: texstate.c,v 1.8 2000/03/07 17:11:29 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -125,7 +125,7 @@ _mesa_TexEnvfv( GLenum target, GLenum pname, const GLfloat *param )
/* Tell device driver about the new texture environment */
if (ctx->Driver.TexEnv) {
(*ctx->Driver.TexEnv)( ctx, pname, param );
(*ctx->Driver.TexEnv)( ctx, target, pname, param );
}
}