Project

General

Profile

« Previous | Next » 

Revision 048bc7f4

Added by Leszek Koltunski almost 7 years ago

Correct a bug where postprocessed objects would not re-appear after the app went briefly to the background.

View differences:

src/main/java/org/distorted/library/Distorted.java
34 34
  static int GLSL;
35 35
  static String GLSL_VERSION;
36 36

  
37
  static int mMargin = 0;
38

  
39 37
  /**
40 38
   * When creating an instance of a DistortedTexture from another instance, clone the Bitmap that's
41 39
   * backing up our DistortedTexture.
......
153 151

  
154 152
    mInitialized = false;
155 153
    }
156

  
157
///////////////////////////////////////////////////////////////////////////////////////////////////
158

  
159
  public static void setMargin(int pixels)
160
    {
161
    mMargin = pixels;
162
    }
163 154
  }

Also available in: Unified diff