Fix indirect use of defined() directive
BUG=432391 R=bsalomon,bungeman1 Review URL: https://codereview.chromium.org/876933004
This commit is contained in:
parent
702edbd4bc
commit
3fef728e16
@ -177,8 +177,10 @@
|
||||
* Hopefully we will understand this better and have a cleaner fix or get a
|
||||
* OS/driver level fix.
|
||||
*/
|
||||
#define GR_GL_MAC_BUFFER_OBJECT_PERFOMANCE_WORKAROUND \
|
||||
(defined(SK_BUILD_FOR_MAC) && \
|
||||
!GR_GL_USE_BUFFER_DATA_NULL_HINT)
|
||||
#if (defined(SK_BUILD_FOR_MAC) && !GR_GL_USE_BUFFER_DATA_NULL_HINT)
|
||||
# define GR_GL_MAC_BUFFER_OBJECT_PERFOMANCE_WORKAROUND 1
|
||||
#else
|
||||
# define GR_GL_MAC_BUFFER_OBJECT_PERFOMANCE_WORKAROUND 0
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user