commit | 5bec3aa2c6bcde7f81ca77b0887296bf05a745c8 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Mon Feb 08 16:31:39 2010 -0800 |
committer | Jason Sams <rjsams@android.com> | Mon Feb 08 16:32:29 2010 -0800 |
tree | d67e8e7222d091bdbeb8e41e0306273ec48f1a89 | |
parent | 0066b084b9ac10842769b3cbf755482560d21cd8 [diff] [blame] |
Fix fountain and put the demos back in the optional build.
diff --git a/libs/rs/rsVertexArray.cpp b/libs/rs/rsVertexArray.cpp index d0c0414..6c2002d 100644 --- a/libs/rs/rsVertexArray.cpp +++ b/libs/rs/rsVertexArray.cpp
@@ -191,6 +191,9 @@ if (sc->isUserVertexProgram()) { slot = sc->vtxAttribSlot(ct); } else { + if (mAttribs[ct].kind == RS_KIND_USER) { + continue; + } slot = sc->vtxAttribSlot(mAttribs[ct].kind); }