summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsFont.cpp
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2010-09-29 09:49:13 -0700
committerAlex Sakhartchouk <alexst@google.com>2010-09-29 09:49:13 -0700
commit4378f1175546616c76ecb7f0b1159940ab22d5f4 (patch)
tree900b42e369c9cd58340c88dee93dc0139c7afe5c /libs/rs/rsFont.cpp
parent5f421a56786cf7c71159280c51bd4280f5199cfb (diff)
downloadframeworks_base-4378f1175546616c76ecb7f0b1159940ab22d5f4.zip
frameworks_base-4378f1175546616c76ecb7f0b1159940ab22d5f4.tar.gz
frameworks_base-4378f1175546616c76ecb7f0b1159940ab22d5f4.tar.bz2
More robust attribute binding
Adding attribute and uniform debug logging. Checking to see if aniso filtering is available. Change-Id: I2ed9d166ed7ff3df971d7af18b7a33f4e3ade928
Diffstat (limited to 'libs/rs/rsFont.cpp')
-rw-r--r--libs/rs/rsFont.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/rs/rsFont.cpp b/libs/rs/rsFont.cpp
index bd5713e..4f8d8df 100644
--- a/libs/rs/rsFont.cpp
+++ b/libs/rs/rsFont.cpp
@@ -575,8 +575,8 @@ void FontState::issueDrawCommand() {
float *tex = vtx + 3;
VertexArray va;
- va.add(GL_FLOAT, 3, 20, false, (uint32_t)vtx, "position");
- va.add(GL_FLOAT, 2, 20, false, (uint32_t)tex, "texture0");
+ va.add(GL_FLOAT, 3, 20, false, (uint32_t)vtx, "ATTRIB_position");
+ va.add(GL_FLOAT, 2, 20, false, (uint32_t)tex, "ATTRIB_texture0");
va.setupGL2(mRSC, &mRSC->mStateVertexArray, &mRSC->mShaderCache);
mIndexBuffer->uploadCheck(mRSC);