main: remove duplicated includes
authorNicolas Kaiser <nikai@nikai.net>
Thu, 30 Sep 2010 14:50:43 +0000 (07:50 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 30 Sep 2010 15:36:31 +0000 (09:36 -0600)
Remove duplicated includes.

Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/main/api_exec.c
src/mesa/main/dlist.c
src/mesa/main/renderbuffer.c

index b87aa47d88b19d75b718287c10ea21eb89e83ac2..ae653e1914e47a9b567c0bcd9bdf270cbe29616c 100644 (file)
 #include "mtypes.h"
 #include "varray.h"
 #include "viewport.h"
-#if FEATURE_NV_vertex_program
-#include "nvprogram.h"
-#endif
-#if FEATURE_NV_fragment_program
+#if FEATURE_NV_vertex_program || FEATURE_NV_fragment_program
 #include "nvprogram.h"
 #endif
 #if FEATURE_ARB_shader_objects
index 3a730f0e406f04ffb3a323f9189d3141776c6cd5..cccec24853951b1528b88563627905b47005277d 100644 (file)
@@ -52,7 +52,6 @@
 #include "hash.h"
 #include "image.h"
 #include "light.h"
-#include "dlist.h"
 #include "macros.h"
 #include "queryobj.h"
 #include "teximage.h"
index adc1199d87af5eed2710dc1b412f85a828e5469e..118fb52bb2eedd5c8e5845c8a70fddbcdd58f68d 100644 (file)
@@ -46,7 +46,6 @@
 #include "fbobject.h"
 #include "formats.h"
 #include "mtypes.h"
-#include "fbobject.h"
 #include "renderbuffer.h"