summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'gpu')
-rw-r--r--gpu/GLES2/gl2ext.h2
-rw-r--r--gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h2
-rw-r--r--gpu/command_buffer/service/gl_utils.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/gpu/GLES2/gl2ext.h b/gpu/GLES2/gl2ext.h
index 67bd0cc..4bd49c8 100644
--- a/gpu/GLES2/gl2ext.h
+++ b/gpu/GLES2/gl2ext.h
@@ -1083,7 +1083,7 @@ typedef void (GL_APIENTRYP PFNGLENABLEFEATURECHROMIUM) (const GLchar *feature);
#ifndef GL_ANGLE_translated_shader_source
#define GL_ANGLE_translated_shader_source 1
#ifndef GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE
-#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x6900
+#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
#endif
#ifdef GL_GLEXT_PROTOTYPES
#define glGetTranslatedShaderSourceANGLE GLES2_GET_FUN(GetTranslatedShaderSourceANGLE)
diff --git a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
index 3a5f252..14e626f 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
@@ -283,6 +283,7 @@ static GLES2Util::EnumToString enum_to_string_table[] = {
{ 0x8C0A, "GL_SGX_BINARY_IMG", },
{ 0x846D, "GL_ALIASED_POINT_SIZE_RANGE", },
{ 0x846E, "GL_ALIASED_LINE_WIDTH_RANGE", },
+ { 0x93A0, "GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE", },
{ 0x8802, "GL_STENCIL_BACK_PASS_DEPTH_FAIL", },
{ 0x8C01, "GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG", },
{ 0x8C00, "GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG", },
@@ -345,7 +346,6 @@ static GLES2Util::EnumToString enum_to_string_table[] = {
{ 0x84C4, "GL_TEXTURE4", },
{ 0x85B5, "GL_VERTEX_ARRAY_BINDING_OES", },
{ 0x8253, "GL_GUILTY_CONTEXT_RESET_ARB", },
- { 0x6900, "GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE", },
{ 0x00200000, "GL_STENCIL_BUFFER_BIT5_QCOM", },
{ 0x8D68, "GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES", },
{ 0x8D61, "GL_HALF_FLOAT_OES", },
diff --git a/gpu/command_buffer/service/gl_utils.h b/gpu/command_buffer/service/gl_utils.h
index 8ac4f13..0aae91d 100644
--- a/gpu/command_buffer/service/gl_utils.h
+++ b/gpu/command_buffer/service/gl_utils.h
@@ -40,7 +40,7 @@
#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
// GL_ANGLE_translated_shader_source
-#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x6900
+#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
#define GL_GLEXT_PROTOTYPES 1