projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swrast: Fix fixed-function fragment processing
[mesa.git]
/
src
/
mesa
/
swrast
/
s_lines.c
diff --git
a/src/mesa/swrast/s_lines.c
b/src/mesa/swrast/s_lines.c
index 95a2a5d96fc5a482d9ee57827a11ab28b1cb32e5..ee997b08a7b1c5c285a49da050dcf89063928b0e 100644
(file)
--- a/
src/mesa/swrast/s_lines.c
+++ b/
src/mesa/swrast/s_lines.c
@@
-236,7
+236,7
@@
_swrast_choose_line( struct gl_context *ctx )
ASSERT(swrast->Line);
}
else if (ctx->Texture._EnabledCoordUnits
- ||
ctx->FragmentProgram._Current
+ ||
_swrast_use_fragment_program(ctx)
|| swrast->_FogEnabled
|| specular) {
USE(general_line);