diff options
author | 2010-12-08 16:14:36 -0800 | |
---|---|---|
committer | 2010-12-08 16:14:36 -0800 | |
commit | 5476b450e50939940dcf3f15c92335cee2fc572d (patch) | |
tree | 2129f5a5abfdfa6d43ae3e884d759d4614604c41 /libs/rs/rsVertexArray.cpp | |
parent | af8962e48ecf0ff3833084f540ca7e2f05295560 (diff) |
Allocation API update.
Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
Diffstat (limited to 'libs/rs/rsVertexArray.cpp')
-rw-r--r-- | libs/rs/rsVertexArray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/rsVertexArray.cpp b/libs/rs/rsVertexArray.cpp index 5062156f1638..8a9fafea1963 100644 --- a/libs/rs/rsVertexArray.cpp +++ b/libs/rs/rsVertexArray.cpp @@ -81,7 +81,7 @@ void VertexArray::setupGL2(const Context *rsc, class VertexArrayState *state, ShaderCache *sc) const { rsc->checkError("VertexArray::setupGL2 start"); - for (uint32_t ct=1; ct <= 0xf/*state->mLastEnableCount*/; ct++) { + for (uint32_t ct=1; ct <= state->mLastEnableCount; ct++) { glDisableVertexAttribArray(ct); } |