OSDN Git Service

tnl: Reduce header file inclusion in t_context.h.
authorVinson Lee <vlee@vmware.com>
Sun, 8 Aug 2010 05:56:35 +0000 (22:56 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 8 Aug 2010 05:56:35 +0000 (22:56 -0700)
t_context.h
Remove m_matrix.h and m_xform.h.

t_vb_program.c
Include m_xform.h.

t_vb_render.c
Include m_xform.h.

src/mesa/tnl/t_context.h
src/mesa/tnl/t_vb_program.c
src/mesa/tnl/t_vb_render.c

index ebaae63..258906f 100644 (file)
@@ -53,9 +53,7 @@
 #include "main/bitset.h"
 #include "main/mtypes.h"
 
-#include "math/m_matrix.h"
 #include "math/m_vector.h"
-#include "math/m_xform.h"
 
 #include "vbo/vbo.h"
 
index 3973df9..f3a338e 100644 (file)
@@ -35,6 +35,7 @@
 #include "main/colormac.h"
 #include "main/macros.h"
 #include "main/imports.h"
+#include "math/m_xform.h"
 #include "program/prog_instruction.h"
 #include "program/prog_statevars.h"
 #include "program/prog_execute.h"
index c1bebc9..7d99100 100644 (file)
@@ -44,6 +44,7 @@
 #include "main/macros.h"
 #include "main/imports.h"
 #include "main/mtypes.h"
+#include "math/m_xform.h"
 
 #include "t_pipeline.h"