diff options
| author | Jason Sams <rjsams@android.com> | 2010-01-06 11:57:52 -0800 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2010-01-06 12:01:51 -0800 |
| commit | 433eca30b2efe0cf84bbda33f2dfdfd6dcafaf59 (patch) | |
| tree | 9840a641c7663c925678184ad687181554ed9da4 /rsScriptC_Lib.cpp | |
| parent | 2d4445ba2c29342bee37612da1ea3db56553af2b (diff) | |
More complete support for named attribs. Adds user typed attribs as available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
Diffstat (limited to 'rsScriptC_Lib.cpp')
| -rw-r--r-- | rsScriptC_Lib.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rsScriptC_Lib.cpp b/rsScriptC_Lib.cpp index 917f294c..8a0ab710 100644 --- a/rsScriptC_Lib.cpp +++ b/rsScriptC_Lib.cpp @@ -738,9 +738,7 @@ static void SC_drawQuadTexCoords(float x1, float y1, float z1, VertexArray va; va.setPosition(3, GL_FLOAT, 12, (uint32_t)&vtx); - va.setTexture(2, GL_FLOAT, 8, (uint32_t)&tex, 0); - //va.setTexture(2, GL_FLOAT, 8, (uint32_t)&tex, 1); - // + va.setTexture(2, GL_FLOAT, 8, (uint32_t)&tex); if (rsc->checkVersion2_0()) { va.setupGL2(rsc, &rsc->mStateVertexArray, &rsc->mShaderCache); } else { |
