summaryrefslogtreecommitdiff
path: root/libs/hwui/Program.cpp
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2015-02-02 13:50:55 -0800
committer Chris Craik <ccraik@google.com> 2015-02-02 14:08:57 -0800
commit6c15ffa196fc9b7724c189d833c3435d8db12266 (patch)
treee326098c02f133197f6b507c390ff244114fb205 /libs/hwui/Program.cpp
parent44eb2c00861098dd3e2950d923646814b4cc57c2 (diff)
Refactoring of Program ownership/lifecycle, and WIP Glop rendering path
Change-Id: I2549032790bddbc048b0bccc224ed8f386b4517c
Diffstat (limited to 'libs/hwui/Program.cpp')
-rw-r--r--libs/hwui/Program.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Program.cpp b/libs/hwui/Program.cpp
index fb07dfab974a..5f34b3495681 100644
--- a/libs/hwui/Program.cpp
+++ b/libs/hwui/Program.cpp
@@ -46,7 +46,7 @@ Program::Program(const ProgramDescription& description, const char* vertex, cons
glAttachShader(mProgramId, mVertexShader);
glAttachShader(mProgramId, mFragmentShader);
- position = bindAttrib("position", kBindingPosition);
+ bindAttrib("position", kBindingPosition);
if (description.hasTexture || description.hasExternalTexture) {
texCoords = bindAttrib("texCoords", kBindingTexCoords);
} else {