Mesa (master): swrast: Clean up header file inclusion in s_fog.h.
Vinson Lee
vlee at kemper.freedesktop.org
Sat Dec 25 04:12:00 UTC 2010
Module: Mesa
Branch: master
Commit: 7d5f5d3843641e42c5f8cf0a4b6db0b03aecdf19
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d5f5d3843641e42c5f8cf0a4b6db0b03aecdf19
Author: Vinson Lee <vlee at vmware.com>
Date: Fri Dec 24 20:11:44 2010 -0800
swrast: Clean up header file inclusion in s_fog.h.
---
src/mesa/swrast/s_fog.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/mesa/swrast/s_fog.h b/src/mesa/swrast/s_fog.h
index ebc3513..9f93b70 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);
More information about the mesa-commit
mailing list