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/listener/ListenerRenderer.java
84 84
    
85 85
    public void onSurfaceChanged(GL10 glUnused, int width, int height) 
86 86
      { 
87
      water.abortAllEffects(Distorted.TYPE_MATR);  
87
      water.abortAllEffects(Distorted.TYPE_PRE);
88 88
         
89 89
      if( bmpHeight/bmpWidth > height/width )
90 90
        {

Also available in: Unified diff