| Index: include/gpu/GrTypes.h
|
| diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h
|
| index 9be500d3b2206e004a9fbed3bc176365bae51d0a..47c13ec02d91888bcd8d0738862976847f09e2b3 100644
|
| --- a/include/gpu/GrTypes.h
|
| +++ b/include/gpu/GrTypes.h
|
| @@ -399,16 +399,6 @@ static inline bool GrPixelConfigIsAlphaOnly(GrPixelConfig config) {
|
| }
|
| }
|
|
|
| -static inline bool GrAllowSRGBForDestinationPixelConfig(GrPixelConfig config) {
|
| - switch (config) {
|
| - case kRGBA_8888_GrPixelConfig:
|
| - case kBGRA_8888_GrPixelConfig:
|
| - return false;
|
| - default:
|
| - return true;
|
| - }
|
| -}
|
| -
|
| /**
|
| * Optional bitfield flags that can be set on GrSurfaceDesc (below).
|
| */
|
|
|