swrast: Reduce header file inclusion in s_fragprog.h.
authorVinson Lee <vlee@vmware.com>
Sun, 8 Aug 2010 04:01:12 +0000 (21:01 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 8 Aug 2010 04:01:12 +0000 (21:01 -0700)
s_fragprog.h
Include mtype.h for GLcontext symbol.
Include s_span.h for SWspan symbol.

s_fragprog.c
Include s_context.h now that it is removed from s_fragprog.h.

src/mesa/swrast/s_fragprog.c
src/mesa/swrast/s_fragprog.h

index a2c2a10c3de53ea6161acd1e402da0ee9b891178..9facb44d9bf9bca198a626e853c26e7278858496 100644 (file)
@@ -26,6 +26,7 @@
 #include "main/colormac.h"
 #include "program/prog_instruction.h"
 
+#include "s_context.h"
 #include "s_fragprog.h"
 #include "s_span.h"
 
index e1b7e6791855d7cc3c75da0a67b20a96d6c9aa64..92b9d01e1735d566bb844be14d16f3fb2f6373a6 100644 (file)
@@ -27,7 +27,8 @@
 #define S_FRAGPROG_H
 
 
-#include "s_context.h"
+#include "main/mtypes.h"
+#include "s_span.h"
 
 
 extern void