No that's what you need to do.
On Aug 5, 2013 12:35 PM, "Chi Zeng" <notifications@github.com> wrote:

> In src/wtf/replay/graphics/playback.js:
>
> >    if (this.isPlaying()) {
> >      this.pause();
> >    }
> >
> >    // Clear resources on the GPU.
> >    for (var objectKey in this.objects_) {
> > -    this.clearGPUResource_(this.objects_[objectKey]);
> > +    if (!this.programs_[objectKey] || opt_clearCached) {
> > +      // Do not clear cached programs.
>
> I'm currently resetting the matrices like this:
>
>
> context.uniformMatrix3fv(
>             uniformLocation, false, [0, 0, 0, 0, 0, 0, 0, 0, 0]);
>
> Maybe there's a more concise way? Apparently, 0, [], and [0] don't work.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/google/tracing-framework/pull/416/files#r5587733>
> .
>