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/movingeffects/MovingEffectsRenderer.java
80 80

  
81 81
   public void onSurfaceChanged(GL10 glUnused, int width, int height)
82 82
     {
83
     mBackground.abortAllEffects(Distorted.TYPE_MATR);   
83
     mBackground.abortAllEffects(Distorted.TYPE_PRE);
84 84
     mBackground.scale((float)width/texWidth,(float)height/texHeight,1);
85 85
   
86 86
     Distorted.onSurfaceChanged(width, height);

Also available in: Unified diff