summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-11-08 14:41:41 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-11-08 14:41:41 +0000
commit832026f90643f9162daceeb1be7c9b2f2e7b68c0 (patch)
treeae86e95c3b853707a62eac12ac9cc11fe638cb40
parentbeff21e7bf75913f923cc2e207cbf9eddc41ba51 (diff)
remove unneeded #includes
-rw-r--r--src/mesa/shader/arbprogparse.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c
index 377b9bb862..5f039170c3 100644
--- a/src/mesa/shader/arbprogparse.c
+++ b/src/mesa/shader/arbprogparse.c
@@ -30,18 +30,12 @@
* \author Karl Rasche
*/
-#include "mtypes.h"
#include "glheader.h"
-#include "context.h"
-#include "hash.h"
#include "imports.h"
-#include "macros.h"
-#include "program.h"
-#include "program_instruction.h"
#include "arbprogparse.h"
#include "grammar_mesa.h"
#include "program.h"
-#include "dispatch.h"
+#include "get.h"
#ifndef __extension__
#if !defined(__GNUC__) || (__GNUC__ < 2) || \
@@ -3757,7 +3751,7 @@ static int set_reg8 (GLcontext *ctx, grammar id, const byte *name, byte value)
static int extension_is_supported (const GLubyte *ext)
{
- const GLubyte *extensions = CALL_GetString(GET_DISPATCH(), (GL_EXTENSIONS));
+ const GLubyte *extensions = _mesa_GetString(GL_EXTENSIONS);
const GLubyte *end = extensions + _mesa_strlen ((const char *) extensions);
const GLint ext_len = (GLint)_mesa_strlen ((const char *) ext);