Index: tests/GLInterfaceValidation.cpp |
diff --git a/tests/GLInterfaceValidation.cpp b/tests/GLInterfaceValidation.cpp |
index d47a66da0f5847d20553ebce9a77d3ea42e9ca21..37a83df6fbf766f76676eb5a016d143cb5e0e55b 100755 |
--- a/tests/GLInterfaceValidation.cpp |
+++ b/tests/GLInterfaceValidation.cpp |
@@ -21,13 +21,7 @@ DEF_GPUTEST(GLInterfaceValidation, reporter, factory) { |
REPORTER_ASSERT(reporter, NULL != glCtxHelper); |
if (NULL != glCtxHelper) { |
const GrGLInterface* interface = glCtxHelper->gl(); |
- for (GrGLBinding binding = kFirstGrGLBinding; |
- binding <= kLastGrGLBinding; |
- binding = static_cast<GrGLBinding>(binding << 1)) { |
- if (interface->fBindingsExported & binding) { |
- REPORTER_ASSERT(reporter, interface->validate(binding)); |
- } |
- } |
+ REPORTER_ASSERT(reporter, interface->validate()); |
} |
} |
} |