diff options
author | Brian Paul <[email protected]> | 2005-10-31 19:46:55 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-10-31 19:46:55 +0000 |
commit | dcf4c17fb1624af47181c63af4c3ad29f919c17a (patch) | |
tree | a9a58f02c0ff551f9026098cc9ccd351424c492c /src/mesa/swrast/s_lines.c | |
parent | 821b3dd562c0ec4560e50f29084c32653cf18c9d (diff) |
check swrast->_FogEnabled instead of ctx->Fog.Enabled
Diffstat (limited to 'src/mesa/swrast/s_lines.c')
-rw-r--r-- | src/mesa/swrast/s_lines.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_lines.c b/src/mesa/swrast/s_lines.c index 56179bcc05a..dccc92cbd28 100644 --- a/src/mesa/swrast/s_lines.c +++ b/src/mesa/swrast/s_lines.c @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 6.3 + * Version: 6.5 * - * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -310,7 +310,7 @@ _swrast_choose_line( GLcontext *ctx ) USE(textured_line); } } - else if (ctx->Depth.Test || ctx->Fog.Enabled || ctx->Line._Width != 1.0 + else if (ctx->Depth.Test || swrast->_FogEnabled || ctx->Line._Width != 1.0 || ctx->Line.StippleFlag) { /* no texture, but Z, fog, width>1, stipple, etc. */ if (rgbmode) |