Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index dca58745d7d04f46cbc757b156ba7e23ff9dcc05..26ce82a6a843e7e447d5960297ba07f56d252de1 100644 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -1691,16 +1691,6 @@ bool GrContext::isConfigRenderable(GrPixelConfig config, bool withMSAA) const { |
return fGpu->caps()->isConfigRenderable(config, withMSAA); |
} |
-static inline intptr_t setOrClear(intptr_t bits, int shift, intptr_t pred) { |
- intptr_t mask = 1 << shift; |
- if (pred) { |
- bits |= mask; |
- } else { |
- bits &= ~mask; |
- } |
- return bits; |
-} |
- |
void GrContext::setupDrawBuffer() { |
SkASSERT(NULL == fDrawBuffer); |
SkASSERT(NULL == fDrawBufferVBAllocPool); |