summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorzmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 23:53:13 +0000
committerzmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 23:53:13 +0000
commit1e037e1f5c48ea5e9aeecb7c82a8351dbb399aa2 (patch)
treefcbaca12c9afd2ad1b94f5ae543ed803ff8d3afa /gpu
parent41d513cb215f685eb5bd7b57ad91643773b0e9e2 (diff)
downloadchromium_src-1e037e1f5c48ea5e9aeecb7c82a8351dbb399aa2.zip
chromium_src-1e037e1f5c48ea5e9aeecb7c82a8351dbb399aa2.tar.gz
chromium_src-1e037e1f5c48ea5e9aeecb7c82a8351dbb399aa2.tar.bz2
Last straw for translated_shader_source extension.
While hooking up with webkit side of this extension, I realized something is missing. So this CL is the fix. BUG=95531 TEST=tested with the webkit side CL Review URL: http://codereview.chromium.org/8294002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105969 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/common/gles2_cmd_utils.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.cc b/gpu/command_buffer/common/gles2_cmd_utils.cc
index 296d025..5834d2a0 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.cc
+++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
@@ -274,6 +274,8 @@ int GLES2Util::GLGetNumValuesReturned(int id) const {
// return 1;
case GL_SHADER_SOURCE_LENGTH:
return 1;
+ case GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE:
+ return 1;
// -- glGetTexParameterfv, glGetTexParameteriv
case GL_TEXTURE_MAG_FILTER: