summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-12-24 20:11:44 -0800
committerVinson Lee <[email protected]>2010-12-24 20:11:44 -0800
commit7d5f5d3843641e42c5f8cf0a4b6db0b03aecdf19 (patch)
tree749a2061894eb61a3eadee61c7390efee2980837 /src/mesa
parentec891d78a0472f22bfda3cc93445c8752d73fd8c (diff)
swrast: Clean up header file inclusion in s_fog.h.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/swrast/s_fog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_fog.h b/src/mesa/swrast/s_fog.h
index ebc3513f496..9f93b705084 100644
--- a/src/mesa/swrast/s_fog.h
+++ b/src/mesa/swrast/s_fog.h
@@ -28,9 +28,10 @@
#define S_FOG_H
-#include "main/mtypes.h"
+#include "main/glheader.h"
#include "s_span.h"
+struct gl_context;
extern GLfloat
_swrast_z_to_fogfactor(struct gl_context *ctx, GLfloat z);