summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-05-14 13:24:24 -0600
committerBrian Paul <[email protected]>2009-05-21 09:17:08 -0600
commita185bcbdec856cc98c26098e4e447a683eed14d1 (patch)
treea880480e42ef18799b9f1bcee3ef00d26e5dc864 /src/mesa/main/state.c
parent899c524a49fe5dc7413656380ebd65bbd061c042 (diff)
mesa: move gl_array_attrib::_MaxElement to gl_array_object::_MaxElement
This value is per array object.
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index a6411f7b621..bfbefa55d44 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -206,7 +206,7 @@ update_arrays( GLcontext *ctx )
}
/* _MaxElement is one past the last legal array element */
- ctx->Array._MaxElement = min;
+ arrayObj->_MaxElement = min;
}