OSDN Git Service

swrast: Clean up header file inclusion in s_atifragshader.h.
authorVinson Lee <vlee@vmware.com>
Sat, 7 Aug 2010 19:25:20 +0000 (12:25 -0700)
committerVinson Lee <vlee@vmware.com>
Sat, 7 Aug 2010 19:25:20 +0000 (12:25 -0700)
s_atifragshader.h
Include mtypes.h for GLcontext symbol.
Include s_span.h for SWspan symbol.

s_atifragshader.c
Include s_context.h for SWcontext symbol.

src/mesa/swrast/s_atifragshader.c
src/mesa/swrast/s_atifragshader.h

index 336415d..1338b68 100644 (file)
@@ -24,6 +24,7 @@
 #include "main/macros.h"
 #include "main/atifragshader.h"
 #include "swrast/s_atifragshader.h"
+#include "swrast/s_context.h"
 
 
 /**
index 871a0c0..cce455a 100644 (file)
@@ -27,7 +27,8 @@
 #define S_ATIFRAGSHADER_H
 
 
-#include "s_context.h"
+#include "main/mtypes.h"
+#include "s_span.h"
 
 
 extern void