projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vbo: remove unused var, remove unneeded local var
[mesa.git]
/
src
/
mesa
/
vbo
/
vbo_context.h
diff --git
a/src/mesa/vbo/vbo_context.h
b/src/mesa/vbo/vbo_context.h
index 8b726dc8ac5bfd0e63669c3311d264b496cdd530..2ded6ccbff27eb5116a4b7b3efc34a607d7cb496 100644
(file)
--- a/
src/mesa/vbo/vbo_context.h
+++ b/
src/mesa/vbo/vbo_context.h
@@
-51,12
+51,11
@@
#ifndef _VBO_CONTEXT_H
#define _VBO_CONTEXT_H
#ifndef _VBO_CONTEXT_H
#define _VBO_CONTEXT_H
+#include "main/mfeatures.h"
#include "vbo.h"
#include "vbo_attrib.h"
#include "vbo_exec.h"
#include "vbo.h"
#include "vbo_attrib.h"
#include "vbo_exec.h"
-#if FEATURE_dlist
#include "vbo_save.h"
#include "vbo_save.h"
-#endif
struct vbo_context {
struct vbo_context {
@@
-87,7
+86,7
@@
struct vbo_context {
};
};
-static INLINE struct vbo_context *vbo_context(
GL
context *ctx)
+static INLINE struct vbo_context *vbo_context(
struct gl_
context *ctx)
{
return (struct vbo_context *)(ctx->swtnl_im);
}
{
return (struct vbo_context *)(ctx->swtnl_im);
}
@@
-98,7
+97,7
@@
static INLINE struct vbo_context *vbo_context(GLcontext *ctx)
* vertex transformation, an NV vertex program or ARB vertex program/shader.
*/
static INLINE enum vp_mode
* vertex transformation, an NV vertex program or ARB vertex program/shader.
*/
static INLINE enum vp_mode
-get_program_mode(
GL
context *ctx )
+get_program_mode(
struct gl_
context *ctx )
{
if (!ctx->VertexProgram._Current)
return VP_NONE;
{
if (!ctx->VertexProgram._Current)
return VP_NONE;