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/stencil/StencilRenderer.java
136 136
      mCube2Node.glDepthMask(true);                                              // Write to depth buffer
137 137
      /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
138 138

  
139
      mScreen = new DistortedScreen(mView);
139
      mScreen = new DistortedScreen();
140 140
      mScreen.glClearColor(1.0f,1.0f,1.0f,1.0f);
141 141
      mView.setEGLConfigChooser(5,6,5,0,16,8);       // Screen: 16 bit depth, 8 bit STENCIL
142 142

  

Also available in: Unified diff