aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLInterface.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-01 15:32:49 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-01 15:32:49 +0000
commitb82c3993c2f753e5caaff2df9648ebdafc68595f (patch)
tree12161404431453387c07e3abf86ccee73c0515cc /src/gpu/gl/GrGLInterface.cpp
parentc61c3c310185f6ffaefce194a079159423945191 (diff)
Revert 7919 and 7920 (committed wrong version of r7919.)
git-svn-id: http://skia.googlecode.com/svn/trunk@7923 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl/GrGLInterface.cpp')
-rw-r--r--src/gpu/gl/GrGLInterface.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp
index ea9c29ee95..6fcd6ab578 100644
--- a/src/gpu/gl/GrGLInterface.cpp
+++ b/src/gpu/gl/GrGLInterface.cpp
@@ -349,25 +349,5 @@ bool GrGLInterface::validate(GrGLBinding binding) const {
}
}
- if (kDesktop_GrGLBinding == binding) {
- if (glVer >= GR_GL_VER(3, 0) || extensions.has("GL_ARB_vertex_array_object")) {
- if (NULL == fBindVertexArray ||
- NULL == fDeleteVertexArrays ||
- NULL == fGenVertexArrays) {
- return false;
- }
- }
- } else {
-#if 0 // Remove this #if once Chromium interfaces set these pointers
- if (extensions.has("GL_OES_vertex_array_object")) {
- if (NULL == fBindVertexArray ||
- NULL == fDeleteVertexArrays ||
- NULL == fGenVertexArrays) {
- return false;
- }
- }
-#endif
- }
-
return true;
}