Index: include/gpu/gl/GrGLConfig.h |
diff --git a/include/gpu/gl/GrGLConfig.h b/include/gpu/gl/GrGLConfig.h |
index 0da2c0bf2c6fcb09d179311681127f3f06793c04..490ad0ab53fb645a030ec290cdfa7b516c5a3a89 100644 |
--- a/include/gpu/gl/GrGLConfig.h |
+++ b/include/gpu/gl/GrGLConfig.h |
@@ -205,7 +205,7 @@ |
* OS/driver level fix. |
*/ |
#define GR_GL_MAC_BUFFER_OBJECT_PERFOMANCE_WORKAROUND \ |
- (GR_MAC_BUILD && \ |
+ (defined(SK_BUILD_FOR_MAC) && \ |
!GR_GL_USE_BUFFER_DATA_NULL_HINT) |
#endif |