Index: gpu/command_buffer/common/gles2_cmd_utils.cc |
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.cc b/gpu/command_buffer/common/gles2_cmd_utils.cc |
index 257758fec021a89e1ff17ca353a0eac775be5f3d..7fc6c4d9b541892b4cd75c2438d0e5a8ab70632c 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_utils.cc |
+++ b/gpu/command_buffer/common/gles2_cmd_utils.cc |
@@ -15,6 +15,14 @@ |
#include "gpu/command_buffer/common/gles2_cmd_format.h" |
#include "gpu/command_buffer/common/gles2_cmd_utils.h" |
+// TODO(zmo): missing enums from ES3 header file gl3.h. |
+#if !defined(GL_PACK_SKIP_IMAGES) |
+#define GL_PACK_SKIP_IMAGES 0x806B |
+#endif |
+#if !defined(GL_PACK_IMAGE_HEIGHT) |
+#define GL_PACK_IMAGE_HEIGHT 0x806C |
+#endif |
+ |
namespace gpu { |
namespace gles2 { |