diff options
author | 2011-04-25 18:02:58 +0000 | |
---|---|---|
committer | 2011-04-25 18:02:58 +0000 | |
commit | 4711a7ae9533c9d755296c3991339dfcbf46b0df (patch) | |
tree | 0b4eb527e9a905effa709ca844928186a65ff09e | |
parent | fea37b5e532dfe776269253afb9951e763c3b205 (diff) |
Remove unnecessary BindBuffers. These were needed when we used vertex arrays. Now we always use buffer objects.
git-svn-id: http://skia.googlecode.com/svn/trunk@1173 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | gpu/src/GrGpuGL.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gpu/src/GrGpuGL.cpp b/gpu/src/GrGpuGL.cpp index b0ec2bc908..0ea83a80e1 100644 --- a/gpu/src/GrGpuGL.cpp +++ b/gpu/src/GrGpuGL.cpp @@ -530,9 +530,6 @@ void GrGpuGL::resetContext() { fHWGeometryState.fIndexBuffer = NULL; fHWGeometryState.fVertexBuffer = NULL; - GR_GL(BindBuffer(GR_GL_ARRAY_BUFFER, 0)); - GR_GL(BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, 0)); - fHWGeometryState.fArrayPtrsDirty = true; GR_GL(ColorMask(GR_GL_TRUE, GR_GL_TRUE, GR_GL_TRUE, GR_GL_TRUE)); |