diff options
author | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-18 11:05:42 +0000 |
---|---|---|
committer | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-18 11:05:42 +0000 |
commit | cb198d62aa3fdd00904d6279bbe855c01d4c895a (patch) | |
tree | e3a5150b8aef9c15609e13a188aafbb0b8daba1f /cc/output | |
parent | 23da5ccfc8a693cd66b5946ba436fbc46fe3e7b0 (diff) | |
download | chromium_src-cb198d62aa3fdd00904d6279bbe855c01d4c895a.zip chromium_src-cb198d62aa3fdd00904d6279bbe855c01d4c895a.tar.gz chromium_src-cb198d62aa3fdd00904d6279bbe855c01d4c895a.tar.bz2 |
cc: Add missing bindAttribLocation call for triangle indices.
R=piman
BUG=
Review URL: https://chromiumcodereview.appspot.com/14337003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194878 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/output')
-rw-r--r-- | cc/output/program_binding.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/output/program_binding.cc b/cc/output/program_binding.cc index 7793d36..c9c5e15 100644 --- a/cc/output/program_binding.cc +++ b/cc/output/program_binding.cc @@ -123,6 +123,11 @@ unsigned ProgramBindingBase::CreateShaderProgram(WebGraphicsContext3D* context, context->bindAttribLocation(program_object, GeometryBinding::TexCoordAttribLocation(), "a_texCoord")); + GLC(context, + context->bindAttribLocation( + program_object, + GeometryBinding::TriangleIndexAttribLocation(), + "a_index")); return program_object; } |