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/matrix3d/Matrix3DRenderer.java
45 45
      mView = v;
46 46
      Matrix3DActivity act = (Matrix3DActivity)v.getContext();
47 47
      mTexture= act.getTexture();
48
      mScreen = new DistortedScreen(mView);
48
      mScreen = new DistortedScreen();
49 49
      mScreen.attach(mTexture,act.getEffects(),act.getMesh());
50 50
      mScreen.setProjection(60.0f,0.1f);
51 51
      }

Also available in: Unified diff