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/effects3d/Effects3DRenderer.java
110 110
      mCenterNode = new DistortedNode(mCenterTexture, centerEffects, quad);
111 111
      mRegionNode = new DistortedNode(mRegionTexture, regionEffects, quad);
112 112

  
113
      mScreen = new DistortedScreen(mView);
113
      mScreen = new DistortedScreen();
114 114
      mScreen.setProjection(FOV, NEAR);
115 115
      mScreen.attach(mBackgroundTexture, backgroundEffects, quad );
116 116
      mScreen.attach(mObjectTexture    , objectEffects    , meshO);

Also available in: Unified diff