Index: src/gpu/gl/GrGLCaps.cpp |
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp |
index 7b66898d3c99ec79143d90ceaa93cb74f6dc869e..bdb99096f68541742f46b78f9c7300fcb20fe9e0 100644 |
--- a/src/gpu/gl/GrGLCaps.cpp |
+++ b/src/gpu/gl/GrGLCaps.cpp |
@@ -1281,7 +1281,7 @@ bool GrGLCaps::getExternalFormat(GrPixelConfig surfaceConfig, GrPixelConfig memo |
ExternalFormatUsage usage, GrGLenum* externalFormat, |
GrGLenum* externalType) const { |
SkASSERT(externalFormat && externalType); |
- if (GrPixelConfigIsCompressed(memoryConfig) || GrPixelConfigIsCompressed(memoryConfig)) { |
+ if (GrPixelConfigIsCompressed(memoryConfig)) { |
return false; |
} |