Project

General

Profile

« Previous | Next » 

Revision a8c3ada7

Added by Leszek Koltunski almost 8 years ago

Improve aborting Effects.

View differences:

src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java
106 106
      int bmpWidth  = bmp.getWidth();
107 107
      int bmpHeight = bmp.getHeight();
108 108
     
109
      bmp.abortAllEffects(EffectTypes.MATRIX.type);
109
      bmp.abortEffects(EffectTypes.MATRIX);
110 110
      
111 111
      if( bmpHeight/bmpWidth > height/width )
112 112
        {

Also available in: Unified diff