Loading libs/rs/Android.mk +4 −0 Original line number Original line Diff line number Diff line Loading @@ -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 libs/rs/rsVertexArray.cpp +3 −0 Original line number Original line Diff line number Diff line Loading @@ -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); } } Loading Loading
libs/rs/Android.mk +4 −0 Original line number Original line Diff line number Diff line Loading @@ -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
libs/rs/rsVertexArray.cpp +3 −0 Original line number Original line Diff line number Diff line Loading @@ -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); } } Loading