Index: tests/GLInterfaceValidationTest.cpp |
diff --git a/tests/GLInterfaceValidationTest.cpp b/tests/GLInterfaceValidationTest.cpp |
index fe6cc27a3533625b392b94a5aedd7b0cca696d3e..1448f28fb0ef5d8efcadb00953b60dac0a303fbf 100755 |
--- a/tests/GLInterfaceValidationTest.cpp |
+++ b/tests/GLInterfaceValidationTest.cpp |
@@ -28,6 +28,7 @@ DEF_GPUTEST(GLInterfaceValidation, reporter, factory) { |
continue; |
} |
+ REPORTER_ASSERT(reporter, glCtx); |
if (glCtx) { |
const GrGLInterface* interface = glCtx->gl(); |
REPORTER_ASSERT(reporter, interface->validate()); |