diff options
author | Jason Sams <rjsams@android.com> | 2009-12-16 14:24:17 -0800 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2009-12-16 14:24:17 -0800 |
commit | 7b7f29a35ce15d682ff688ea11b5a516075131f3 (patch) | |
tree | 58a41d51b5f73fe21eaf4a98e1431913cff1f3ab /libs/rs | |
parent | ce9adcce02ef528cf5a65c3650099aa54ebb712a (diff) | |
download | frameworks_base-7b7f29a35ce15d682ff688ea11b5a516075131f3.zip frameworks_base-7b7f29a35ce15d682ff688ea11b5a516075131f3.tar.gz frameworks_base-7b7f29a35ce15d682ff688ea11b5a516075131f3.tar.bz2 |
Fix live wallpaper many. Z coordinate was being ignored for draw quad call.
Diffstat (limited to 'libs/rs')
-rw-r--r-- | libs/rs/rsScriptC_Lib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/rsScriptC_Lib.cpp b/libs/rs/rsScriptC_Lib.cpp index 878ec60..ade136c 100644 --- a/libs/rs/rsScriptC_Lib.cpp +++ b/libs/rs/rsScriptC_Lib.cpp @@ -737,7 +737,7 @@ static void SC_drawQuadTexCoords(float x1, float y1, float z1, const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; VertexArray va; - va.setPosition(2, GL_FLOAT, 12, (uint32_t)&vtx); + 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); // |