aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gpu/gl/GrGLCaps.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index faa8e38468..75c3ee88b5 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -2464,8 +2464,7 @@ void GrGLCaps::applyDriverCorrectnessWorkarounds(const GrGLContextInfo& ctxInfo,
fMipMapSupport = false;
}
- // TODO: Use isX86PowerVRRogue?
- if (kPowerVRRogue_GrGLRenderer == ctxInfo.renderer()) {
+ if (isX86PowerVRRogue) {
// Temporarily disabling clip analytic fragments processors on Nexus player while we work
// around a driver bug related to gl_FragCoord.
// https://bugs.chromium.org/p/skia/issues/detail?id=7286