Revision 95593730
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/plainmonalisa/RenderThread.java | ||
---|---|---|
14 | 14 |
|
15 | 15 |
import org.distorted.library.Distorted; |
16 | 16 |
import org.distorted.library.DistortedBitmap; |
17 |
import org.distorted.library.EffectTypes; |
|
17 | 18 |
import org.distorted.library.Float2D; |
18 | 19 |
import org.distorted.library.Float3D; |
19 | 20 |
import org.distorted.library.Float4D; |
... | ... | |
205 | 206 |
{ |
206 | 207 |
Log.d(TAG, "surfaceChanged " + width + "x" + height); |
207 | 208 |
|
208 |
monaLisa.abortAllEffects(Distorted.TYPE_PRE);
|
|
209 |
monaLisa.abortAllEffects(EffectTypes.MATRIX.type);
|
|
209 | 210 |
|
210 | 211 |
if( bmpHeight/bmpWidth > height/width ) |
211 | 212 |
{ |
Also available in: Unified diff
Introduce ENUM EffectTypes