summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-11-07 17:36:34 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-11-07 17:36:34 +0000
commitbeff21e7bf75913f923cc2e207cbf9eddc41ba51 (patch)
treead957a807968435459e1d5ccd348add317c2168f
parent189bbe0b8c5c9b499a4c5a07dd608e60ec210ca6 (diff)
remove unneeded #includes
-rw-r--r--src/mesa/shader/arbfragparse.c7
-rw-r--r--src/mesa/shader/arbvertparse.c16
2 files changed, 6 insertions, 17 deletions
diff --git a/src/mesa/shader/arbfragparse.c b/src/mesa/shader/arbfragparse.c
index e222bafd7d..31223cc473 100644
--- a/src/mesa/shader/arbfragparse.c
+++ b/src/mesa/shader/arbfragparse.c
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 6.2
+ * Version: 6.5
*
- * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -31,10 +31,7 @@
*/
#include "glheader.h"
-#include "context.h"
#include "imports.h"
-#include "macros.h"
-#include "mtypes.h"
#include "program.h"
#include "arbprogparse.h"
#include "arbfragparse.h"
diff --git a/src/mesa/shader/arbvertparse.c b/src/mesa/shader/arbvertparse.c
index c8455793d9..bb18a2ea47 100644
--- a/src/mesa/shader/arbvertparse.c
+++ b/src/mesa/shader/arbvertparse.c
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 6.2
+ * Version: 6.5
*
- * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -31,18 +31,10 @@
*/
#include "glheader.h"
-#include "context.h"
-#include "arbvertparse.h"
-#include "hash.h"
#include "imports.h"
-#include "macros.h"
-#include "mtypes.h"
#include "program.h"
-#include "nvprogram.h"
-#include "nvvertparse.h"
-#include "program_instruction.h"
-
#include "arbprogparse.h"
+#include "arbvertparse.h"
/**
@@ -98,7 +90,7 @@ _mesa_parse_arb_vertex_program(GLcontext * ctx, GLenum target,
}
program->Parameters = ap.Parameters;
-#if 1/*DEBUG_VP*/
+#if DEBUG_VP
_mesa_print_program(ap.Base.NumInstructions, ap.VPInstructions);
#endif
}