Revision 7451c98a
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/dynamic/DynamicRenderer.java | ||
---|---|---|
58 | 58 |
mPaint.setColor(0xff447da7); |
59 | 59 |
mPaint.setStyle(Style.FILL); |
60 | 60 |
|
61 |
mView = v; |
|
61 |
mView = v;
|
|
62 | 62 |
mGrid = new GridFlat(1,1); |
63 | 63 |
mQueues = new DistortedEffectQueues(); |
64 | 64 |
} |
... | ... | |
84 | 84 |
texW = width; |
85 | 85 |
texH = height; |
86 | 86 |
|
87 |
mTexture= new DistortedTexture(texW,texH,0);
|
|
87 |
mTexture= new DistortedTexture(texW,texH); |
|
88 | 88 |
mBitmap = Bitmap.createBitmap(texW,texH, Bitmap.Config.ARGB_8888); |
89 | 89 |
mCanvas = new Canvas(mBitmap); |
90 | 90 |
|
Also available in: Unified diff
Hide the 'depth' of a DistortedTexture inside the library, so users do not get exposed to this weirdness.