Index: gpu/GLES2/gl2chromium.h |
diff --git a/gpu/GLES2/gl2chromium.h b/gpu/GLES2/gl2chromium.h |
index 7cc84f059513fd9e7669ddebedc77c56792c77da..ff221417a6edc88460cab6918c880907312b2ce7 100644 |
--- a/gpu/GLES2/gl2chromium.h |
+++ b/gpu/GLES2/gl2chromium.h |
@@ -6,12 +6,16 @@ |
// gpu/command_buffer/build_gles2_cmd_buffer.py |
// DO NOT EDIT! |
-// Because we are using both the real system GL and our own. |
-// emulated GL we need to use different names to avoid conflicts. |
+// This file contains Chromium-specific GLES2 declarations. |
#ifndef GPU_GLES2_GL2CHROMIUM_H_ |
#define GPU_GLES2_GL2CHROMIUM_H_ |
+#include <GLES2/gl2platform.h> |
+#define GL_CONTEXT_LOST 0x300E |
+ |
+// Because we are using both the real system GL and our own |
+// emulated GL we need to use different names to avoid conflicts. |
#if defined(GLES2_USE_CPP_BINDINGS) |
#define GLES2_GET_FUN(name) gles2::GetGLContext()->name |
#else |