Mesa (master): st/mesa: Clean up header file inclusion in st_format.h.

Vinson Lee vlee at kemper.freedesktop.org
Tue Dec 21 09:25:34 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Dec 21 01:25:04 2010 -0800

st/mesa: Clean up header file inclusion in st_format.h.

---

 src/mesa/state_tracker/st_format.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mesa/state_tracker/st_format.h b/src/mesa/state_tracker/st_format.h
index 43fa59b..fe195c1 100644
--- a/src/mesa/state_tracker/st_format.h
+++ b/src/mesa/state_tracker/st_format.h
@@ -31,11 +31,12 @@
 #define ST_FORMAT_H
 
 #include "main/formats.h"
-#include "main/mtypes.h"
+#include "main/glheader.h"
 
 #include "pipe/p_defines.h"
 #include "pipe/p_format.h"
 
+struct gl_context;
 struct pipe_screen;
 
 extern GLenum




More information about the mesa-commit mailing list