Home
last modified time | relevance | path

Searched refs:iparam0 (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/mesa/main/
Dtexenv.c392 const GLint iparam0 = (GLint) param[0]; in _mesa_TexEnvfv() local
411 set_env_mode(ctx, texUnit, (GLenum) iparam0); in _mesa_TexEnvfv()
418 set_combiner_mode(ctx, texUnit, pname, (GLenum) iparam0); in _mesa_TexEnvfv()
428 set_combiner_source(ctx, texUnit, pname, (GLenum) iparam0); in _mesa_TexEnvfv()
438 set_combiner_operand(ctx, texUnit, pname, (GLenum) iparam0); in _mesa_TexEnvfv()
449 if ((iparam0 < GL_TEXTURE0) || in _mesa_TexEnvfv()
450 (iparam0 > GL_TEXTURE31)) { in _mesa_TexEnvfv()
452 _mesa_error( ctx, GL_INVALID_ENUM, "glTexEnv(param=0x%x)", iparam0); in _mesa_TexEnvfv()
455 if (!((1 << (iparam0 - GL_TEXTURE0)) & ctx->Const.SupportedBumpUnits)) { in _mesa_TexEnvfv()
456 _mesa_error( ctx, GL_INVALID_VALUE, "glTexEnv(param=0x%x)", iparam0); in _mesa_TexEnvfv()
[all …]