Fixes glAttachShader to be OpenGL ES 2.0 spec compliant.
You're not supposed to be able to attach more than
one shader of the same type unlike OpenGL.

TEST=unit tests
BUG=none

Review URL: http://codereview.chromium.org/3107007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55844 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed