Fix compilation of the GL backend on Windows
The generated OpenGLFunctionsBase code uses the MemoryBarrier identifier which is a macro defined in windows.h. Undefined it in windows_with_undefs. BUG=dawn:165 Change-Id: I6fcfef8fa14074e946d6c13536c1ae33b38c2ac2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8160 Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
df69f24824
commit
55ab6aacac
|
@ -28,4 +28,7 @@
|
|||
// Macros defined for ANSI / Unicode support
|
||||
#undef GetMessage
|
||||
|
||||
// Macros defined to produce compiler intrinsics
|
||||
#undef MemoryBarrier
|
||||
|
||||
#endif // COMMON_WINDOWS_WITH_UNDEFS_H_
|
||||
|
|
Loading…
Reference in New Issue