Revision 1f9a52f1
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/differentbitmaps/DifferentBitmapsRenderer.java | ||
---|---|---|
77 | 77 |
mEffects[0].sink( new Static1D(8), mPoint, new Static4D(0,0,80,80)); // enlarge the nose |
78 | 78 |
mEffects[0].distort(dDistort,mPoint); // keep moving the whole bitmap left and right. |
79 | 79 |
|
80 |
mScreen = new DistortedScreen(); |
|
80 |
mScreen = new DistortedScreen(mView);
|
|
81 | 81 |
mScreen.glClearColor(1.0f, 1.0f, 1.0f, 1.0f); |
82 | 82 |
} |
83 | 83 |
|
Also available in: Unified diff
Simplify setting up DistortedScreen.