Project

General

Profile

« Previous | Next » 

Revision 89a0d841

Added by Leszek Koltunski almost 8 years ago

Beginnings of support for PostShader effects (SavePNG, SaveMP4)

View differences:

src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java
105 105
      int bmpWidth  = bmp.getWidth();
106 106
      int bmpHeight = bmp.getHeight();
107 107
     
108
      bmp.abortAllEffects(Distorted.TYPE_MATR); 
108
      bmp.abortAllEffects(Distorted.TYPE_PRE);
109 109
      
110 110
      if( bmpHeight/bmpWidth > height/width )
111 111
        {

Also available in: Unified diff