projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swrast: Fix memory leaks in blit_linear.
[mesa.git]
/
src
/
mesa
/
swrast
/
s_fog.c
diff --git
a/src/mesa/swrast/s_fog.c
b/src/mesa/swrast/s_fog.c
index d808e2b2a2b9079738aad843ab4a78d9a1f00724..ea59de1602007515d1c46da98df88967e3308b6e 100644
(file)
--- a/
src/mesa/swrast/s_fog.c
+++ b/
src/mesa/swrast/s_fog.c
@@
-158,7
+158,7
@@
_swrast_fog_rgba_span( const struct gl_context *ctx, SWspan *span )
/* The span's fog values are fog coordinates, now compute blend factors
* and blend the fragment colors with the fog color.
*/
- switch (
swrast->_Fog
Mode) {
+ switch (
ctx->Fog.
Mode) {
case GL_LINEAR:
{
const GLfloat fogEnd = ctx->Fog.End;