Fix fountain and put the demos back in the optional build.

This commit is contained in:
Jason Sams
2010-02-08 16:31:39 -08:00
parent 0066b084b9
commit 5bec3aa2c6
2 changed files with 7 additions and 0 deletions

View File

@@ -110,5 +110,9 @@ LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
# include the java examples
include $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk,\
java \
))
endif #simulator

View File

@@ -191,6 +191,9 @@ void VertexArray::setupGL2(const Context *rsc, class VertexArrayState *state, Sh
if (sc->isUserVertexProgram()) {
slot = sc->vtxAttribSlot(ct);
} else {
if (mAttribs[ct].kind == RS_KIND_USER) {
continue;
}
slot = sc->vtxAttribSlot(mAttribs[ct].kind);
}