Project

General

Profile

« Previous | Next » 

Revision 7451c98a

Added by Leszek Koltunski over 7 years ago

Hide the 'depth' of a DistortedTexture inside the library, so users do not get exposed to this weirdness.

View differences:

src/main/java/org/distorted/examples/differentbitmaps/DifferentBitmapsRenderer.java
161 161
      
162 162
      mTexture = new DistortedTexture[NUM];
163 163
      for(int i=0; i<NUM; i++)
164
        mTexture[i] = new DistortedTexture(bmpWidth, bmpHeight,0);
164
        mTexture[i] = new DistortedTexture(bmpWidth,bmpHeight);
165 165
      
166 166
      mTexture[0].setTexture(bitmap0);
167 167
      mTexture[1].setTexture(bitmap1);

Also available in: Unified diff