OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "Test.h" | 8 #include "Test.h" |
9 | 9 |
10 // This is a GPU-backend specific test | 10 // This is a GPU-backend specific test |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 REPORTER_ASSERT(reporter, NULL != glCtxHelper); | 31 REPORTER_ASSERT(reporter, NULL != glCtxHelper); |
32 if (NULL != glCtxHelper) { | 32 if (NULL != glCtxHelper) { |
33 const GrGLInterface* interface = glCtxHelper->gl(); | 33 const GrGLInterface* interface = glCtxHelper->gl(); |
34 REPORTER_ASSERT(reporter, interface->validate()); | 34 REPORTER_ASSERT(reporter, interface->validate()); |
35 } | 35 } |
36 } | 36 } |
37 } | 37 } |
38 | 38 |
39 #endif | 39 #endif |
OLD | NEW |