dist/melonjs.js
function save() {
         this._colorStack.push(this.currentColor.clone());

         this._matrixStack.push(this.currentTransform.clone());

         if (this.gl.isEnabled(this.gl.SCISSOR_TEST)) {
           // FIXME avoid slice and object realloc
           this._scissorStack.push(this.currentScissor.slice());
         }
       }
function save() {
         this._colorStack.push(this.currentColor.clone());

         this._matrixStack.push(this.currentTransform.clone());

         if (this.gl.isEnabled(this.gl.SCISSOR_TEST)) {
           // FIXME avoid slice and object realloc
           this._scissorStack.push(this.currentScissor.slice());
         }
       }
function save ( ) { this . _colorStack . push ( this . currentColor . clone ( ) ) ; this . _matrixStack . push ( this . currentTransform . clone ( ) ) ; if ( this . gl . isEnabled ( this . gl . SCISSOR_TEST ) ) { // FIXME avoid slice and object realloc this . _scissorStack . push ( this . currentScissor . slice ( ) ) ; } }
saves the canvas context
@name save
@memberOf me.WebGLRenderer.prototype
@function
saves the canvas context