Mesa (master): swrast: Clean up header file inclusion in s_fragprog.h.

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 25 04:35:15 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Dec 24 20:34:53 2010 -0800

swrast: Clean up header file inclusion in s_fragprog.h.

---

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

diff --git a/src/mesa/swrast/s_fragprog.h b/src/mesa/swrast/s_fragprog.h
index 689d3fc..62a6836 100644
--- a/src/mesa/swrast/s_fragprog.h
+++ b/src/mesa/swrast/s_fragprog.h
@@ -27,9 +27,10 @@
 #define S_FRAGPROG_H
 
 
-#include "main/mtypes.h"
 #include "s_span.h"
 
+struct gl_context;
+
 
 extern void
 _swrast_exec_fragment_program(struct gl_context *ctx, SWspan *span);




More information about the mesa-commit mailing list