| Index: tests/ProxyTest.cpp
|
| diff --git a/tests/ProxyTest.cpp b/tests/ProxyTest.cpp
|
| index 68fc1f142e51c0ab9cce48796f745ff4677df1ca..e1e5aeb2cf8ccee90ef3766b2d117e59d148307c 100644
|
| --- a/tests/ProxyTest.cpp
|
| +++ b/tests/ProxyTest.cpp
|
| @@ -85,7 +85,8 @@ DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(AllocedProxyTest, reporter, ctxInfo) {
|
| for (auto budgeted : { SkBudgeted::kYes, SkBudgeted::kNo }) {
|
| for (auto numSamples : { 0, 4}) {
|
| bool renderable = ctxInfo.fGrContext->caps()->isConfigRenderable(
|
| - config, numSamples > 0);
|
| + config, numSamples > 0) &&
|
| + numSamples <= ctxInfo.fGrContext->caps()->maxColorSampleCount();
|
|
|
| GrSurfaceDesc desc;
|
| desc.fOrigin = origin;
|
|
|