Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index e62aa5d648a130db721f6f9a7ac587be9d904f20..9dfe761024e1983f7180b83561c1ed69a5c0007c 100644 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -1487,7 +1487,7 @@ bool GrContext::writeRenderTargetPixels(GrRenderTarget* target, |
// We expect to be at least as fast or faster since it doesn't use an intermediate texture as |
// we do below. |
-#if !GR_MAC_BUILD |
+#if !defined(SK_BUILD_FOR_MAC) |
// At least some drivers on the Mac get confused when glTexImage2D is called on a texture |
// attached to an FBO. The FBO still sees the old image. TODO: determine what OS versions and/or |
// HW is affected. |