Index: tests/GLInterfaceValidationTest.cpp |
diff --git a/tests/GLInterfaceValidationTest.cpp b/tests/GLInterfaceValidationTest.cpp |
index 83f9e2eae2f99622a15ba5ba6429c80c78b4deeb..1448f28fb0ef5d8efcadb00953b60dac0a303fbf 100755 |
--- a/tests/GLInterfaceValidationTest.cpp |
+++ b/tests/GLInterfaceValidationTest.cpp |
@@ -23,7 +23,7 @@ DEF_GPUTEST(GLInterfaceValidation, reporter, factory) { |
// support the NVPR extension. |
if (GrContextFactory::kNVPR_GLContextType == glCtxType && |
factory->getGLContext(GrContextFactory::kNative_GLContextType) && |
- !factory->getGLContext(GrContextFactory::kNative_GLContextType)->hasExtension("GL_NV_path_rendering")) { |
+ !factory->getGLContext(GrContextFactory::kNative_GLContextType)->gl()->hasExtension("GL_NV_path_rendering")) { |
REPORTER_ASSERT(reporter, NULL == glCtx); |
continue; |
} |