diff options
Diffstat (limited to 'tools/skqp')
-rw-r--r-- | tools/skqp/gm_runner.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/skqp/gm_runner.cpp b/tools/skqp/gm_runner.cpp index 437e3c10af..ce0586d490 100644 --- a/tools/skqp/gm_runner.cpp +++ b/tools/skqp/gm_runner.cpp @@ -141,7 +141,9 @@ static GrContextOptions context_options(skiagm::GM* gm = nullptr) { GrContextOptions grContextOptions; grContextOptions.fAllowPathMaskCaching = true; grContextOptions.fSuppressPathRendering = true; + #ifndef SK_SKQP_ENABLE_DRIVER_CORRECTNESS_WORKAROUNDS grContextOptions.fDisableDriverCorrectnessWorkarounds = true; + #endif if (gm) { gm->modifyGrContextOptions(&grContextOptions); } |