Project

General

Profile

« Previous | Next » 

Revision e4330c89

Added by Leszek Koltunski almost 7 years ago

Change of API: move setting the EGL context back to the APP.

View differences:

src/main/java/org/distorted/examples/flag/FlagRenderer.java
99 99
      mEffects.apply( new MatrixEffectQuaternion(mQuat1, mCenter) );
100 100
      mEffects.apply( new MatrixEffectQuaternion(mQuat2, mCenter) );
101 101

  
102
      mScreen = new DistortedScreen(mView);
102
      mScreen = new DistortedScreen();
103 103
      mScreen.attach(mTexture,mEffects, new MeshCubes(50,30,1) );
104 104
      }
105 105

  

Also available in: Unified diff