Project

General

Profile

« Previous | Next » 

Revision 144d252c

Added by Leszek Koltunski over 7 years ago

Minor.

View differences:

src/main/java/org/distorted/library/main/DistortedOutputSurface.java
422 422
      GLES30.glClearDepthf(mClearDepth);
423 423
      GLES30.glClearStencil(mClearStencil);
424 424
      GLES30.glClear(mClear);
425
     // DistortedRenderState.colorDepthStencilRestore();
425
      DistortedRenderState.colorDepthStencilRestore();
426 426
      }
427 427
    }
428 428

  
src/main/java/org/distorted/library/main/DistortedRenderState.java
187 187

  
188 188
  static void colorDepthStencilRestore()
189 189
    {
190
    /*
190 191
    if( sState.colorMaskR!=cState.colorMaskR || sState.colorMaskG!=cState.colorMaskG || sState.colorMaskB!=cState.colorMaskB || sState.colorMaskA!=cState.colorMaskA)
191 192
      {
192 193
      cState.colorMaskR = sState.colorMaskR;
......
205 206
      cState.stencilMask = sState.stencilMask;
206 207
      GLES30.glStencilMask(cState.stencilMask);
207 208
      }
209
    */
208 210
    }
209 211

  
210 212
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff