Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1655f9a8 authored by Jason Sams's avatar Jason Sams Committed by Android (Google) Code Review
Browse files

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

parents 960f5d42 5bec3aa2
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -110,5 +110,9 @@ LOCAL_MODULE_TAGS := optional


include $(BUILD_SHARED_LIBRARY)
include $(BUILD_SHARED_LIBRARY)


# include the java examples
include $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk,\
    java \
    ))


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