OSDN Git Service

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 a2c2a10..9facb44 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 e1b7e67..92b9d01 100644 (file)
@@ -27,7 +27,8 @@
 #define S_FRAGPROG_H
 
 
-#include "s_context.h"
+#include "main/mtypes.h"
+#include "s_span.h"
 
 
 extern void