_tnl_allow_*_fog(...)

This commit is contained in:
Daniel Borca 2004-03-03 09:07:43 +00:00
parent 3abf2e4740
commit 5ee631c6ee

View file

@ -1392,6 +1392,8 @@ fxDDInitFxMesaContext(fxMesaContext fxMesa)
*/
_swrast_allow_vertex_fog(ctx, GL_FALSE);
_swrast_allow_pixel_fog(ctx, GL_TRUE);
_tnl_allow_vertex_fog( ctx, GL_FALSE );
_tnl_allow_pixel_fog( ctx, GL_TRUE );
/* Tell tnl not to calculate or use vertex fog factors. (Needed to
* tell render stage not to clip fog coords).