-/* $Id: texstate.c,v 1.95 2003/03/03 15:37:41 brianp Exp $ */
-
/*
* Mesa 3-D graphics library
* Version: 5.1
}
break;
default:
- _mesa_error( ctx, GL_INVALID_ENUM, "glGetTexEnvfv(pname)" );
+ _mesa_error(ctx, GL_INVALID_ENUM, "glGetTexEnvfv(pname=0x%x)", pname);
}
}
else if (target == GL_TEXTURE_FILTER_CONTROL_EXT) {
}
break;
default:
- _mesa_error( ctx, GL_INVALID_ENUM, "glGetTexEnviv(pname)" );
+ _mesa_error(ctx, GL_INVALID_ENUM, "glGetTexEnviv(pname=0x%x)",
+ pname);
}
}
else if (target == GL_TEXTURE_FILTER_CONTROL_EXT) {
; /* silence warnings */
}
/* If we get here, pname was an unrecognized enum */
- _mesa_error( ctx, GL_INVALID_ENUM, "glGetTexParameterfv(pname)" );
+ _mesa_error(ctx, GL_INVALID_ENUM, "glGetTexParameterfv(pname=0x%x)",
+ pname);
}
; /* silence warnings */
}
/* If we get here, pname was an unrecognized enum */
- _mesa_error( ctx, GL_INVALID_ENUM, "glGetTexParameteriv(pname)" );
+ _mesa_error(ctx, GL_INVALID_ENUM, "glGetTexParameteriv(pname=0x%x)", pname);
}