switching between fogs

Hi

The problem is the following.:
I’m using this piece of code to enable EXT_FOG_COORD…

glFogi(GL_FOG_COORDINATE_SOURCE_EXT, GL_FOG_COORDINATE_EXT);
glFogi(GL_FOG_MODE, GL_LINEAR);
glFogfv(GL_FOG_COLOR, fogColor);
glFogf(GL_FOG_DENSITY, 0.35);
glHint(GL_FOG_HINT, GL_DONT_CARE);
glFogf(GL_FOG_START, 0.0f);
glFogf(GL_FOG_END, 1.3);
glEnable(GL_FOG);

and it’s working just fine, i can use fog as i want in some faces., but then later in the code i want to use standard fog, just GL_LINEAR or GL_EXP withou the fog extension.
The problem is that altough i’m not assigning fog values between the glBegin/glEnd OpenGL still assumes that i have GL_FOG_COORDINATE_SOURCE_EXT enabled.
So my question is, after using this extension how do i turn it off, so that i can use the normal fog equations ?

thanks,

Bruno

glFogi(GL_FOG_COORDINATE_SOURCE_EXT, GL_FRAGMENT_DEPTH_EXT);