Mesa (master): mesa: Clean up header file inclusion in light.h.

Vinson Lee vlee at kemper.freedesktop.org
Tue Nov 9 13:35:41 UTC 2010


Module: Mesa
Branch: master
Commit: a20e440c65987a2d5b97dd0cbf6c2efbfdf5ec57
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a20e440c65987a2d5b97dd0cbf6c2efbfdf5ec57

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Nov  9 05:35:24 2010 -0800

mesa: Clean up header file inclusion in light.h.

---

 src/mesa/main/light.h |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/light.h b/src/mesa/main/light.h
index 021f5ea..f42fbe6 100644
--- a/src/mesa/main/light.h
+++ b/src/mesa/main/light.h
@@ -28,7 +28,12 @@
 #define LIGHT_H
 
 
-#include "mtypes.h"
+#include "glheader.h"
+#include "mfeatures.h"
+
+struct gl_context;
+struct gl_light;
+struct gl_material;
 
 extern void GLAPIENTRY
 _mesa_ShadeModel( GLenum mode );




More information about the mesa-commit mailing list