Index: gpu/command_buffer/common/constants.h |
diff --git a/gpu/command_buffer/common/constants.h b/gpu/command_buffer/common/constants.h |
index e14c06db541c60a7daba17dcff8d2a75c6484237..0d31801407158abc5262e9d2af8850d26acfb2be 100644 |
--- a/gpu/command_buffer/common/constants.h |
+++ b/gpu/command_buffer/common/constants.h |
@@ -8,6 +8,11 @@ |
#include <stddef.h> |
#include <stdint.h> |
+// From glextchromium.h. |
+#ifndef GL_SYNC_TOKEN_SIZE_CHROMIUM |
+#define GL_SYNC_TOKEN_SIZE_CHROMIUM 24 |
+#endif |
+ |
namespace gpu { |
typedef int32_t CommandBufferOffset; |