vbo: remove unused var, remove unneeded local var
[mesa.git] / src / mesa / vbo / vbo_exec_eval.c
index a7846213d0ce71a91f89ae01c84eac49a1db264f..1e8c3c45bb53fea51955fabfd884cdf5a3fd8156 100644 (file)
@@ -29,7 +29,7 @@
 #include "main/context.h"
 #include "main/macros.h"
 #include "math/m_eval.h"
-#include "glapi/dispatch.h"
+#include "main/dispatch.h"
 #include "vbo_exec.h"
 
 
@@ -67,7 +67,7 @@ static void set_active_eval2( struct vbo_exec_context *exec, GLuint attr, GLuint
 
 void vbo_exec_eval_update( struct vbo_exec_context *exec )
 {
-   GLcontext *ctx = exec->ctx;
+   struct gl_context *ctx = exec->ctx;
    GLuint attr;
 
    /* Vertex program maps have priority over conventional attribs */