Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index d329124a07e3a1e7ba9d44d65aa40b05ba624c45..1bf10ba5534cecf768040d38851a142f3408c77c 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -179,7 +179,7 @@ static void set_random_state(GrPipelineBuilder* pipelineBuilder, SkRandom* rando |
// If we don't have an MSAA rendertarget then we have to disable useHWAA |
if ((state | GrPipelineBuilder::kHWAntialias_Flag) && |
- !pipelineBuilder->getRenderTarget()->isMultisampled()) { |
+ !pipelineBuilder->getRenderTarget()->isUnifiedMultisampled()) { |
state &= ~GrPipelineBuilder::kHWAntialias_Flag; |
} |
pipelineBuilder->enableState(state); |