| Index: webkit/api/src/GraphicsContext3D.cpp
|
| ===================================================================
|
| --- webkit/api/src/GraphicsContext3D.cpp (revision 30543)
|
| +++ webkit/api/src/GraphicsContext3D.cpp (working copy)
|
| @@ -1310,12 +1310,6 @@
|
| {
|
| if (!program)
|
| return false;
|
| - GLint numActiveAttribs = -1;
|
| - glGetProgramiv(EXTRACT(program), GL_ACTIVE_ATTRIBUTES, &numActiveAttribs);
|
| - if (numActiveAttribs < 0)
|
| - return false;
|
| - if (index >= static_cast<GLuint>(numActiveAttribs))
|
| - return false;
|
| GLint maxNameLength = -1;
|
| glGetProgramiv(EXTRACT(program), GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &maxNameLength);
|
| if (maxNameLength < 0)
|
| @@ -1343,12 +1337,6 @@
|
| {
|
| if (!program)
|
| return false;
|
| - GLint numActiveUniforms = -1;
|
| - glGetProgramiv(EXTRACT(program), GL_ACTIVE_UNIFORMS, &numActiveUniforms);
|
| - if (numActiveUniforms < 0)
|
| - return false;
|
| - if (index >= static_cast<GLuint>(numActiveUniforms))
|
| - return false;
|
| GLint maxNameLength = -1;
|
| glGetProgramiv(EXTRACT(program), GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxNameLength);
|
| if (maxNameLength < 0)
|
|
|