Project

General

Profile

« Previous | Next » 

Revision 6dff7924

Added by Leszek Koltunski about 2 years ago

Minor.

View differences:

src/main/java/org/distorted/bandaged/BandagedCreatorRenderer.java
28 28
import android.widget.Toast;
29 29

  
30 30
import org.distorted.dialogs.RubikDialogBandagedSave;
31
import org.distorted.library.effect.EffectType;
31 32
import org.distorted.library.effect.PostprocessEffectBorder;
32 33
import org.distorted.library.main.DistortedEffects;
33 34
import org.distorted.library.main.DistortedFramebuffer;
......
36 37
import org.distorted.library.main.DistortedScreen;
37 38

  
38 39
import org.distorted.library.main.InternalOutputSurface;
40
import org.distorted.library.mesh.MeshBase;
39 41
import org.distorted.library.type.Static1D;
40 42
import org.distorted.library.type.Static3D;
41 43
import org.distorted.library.type.Static4D;
......
274 276
   @Override
275 277
   public void onSurfaceCreated(GL10 glUnused, EGLConfig config)
276 278
      {
279
      DistortedLibrary.setMax(EffectType.VERTEX,25);
280
      MeshBase.setMaxEffComponents(26);
281

  
277 282
      DistortedLibrary.onSurfaceCreated(mView.getContext(),this,1);
283
      DistortedLibrary.setCull(true);
278 284
      }
279 285

  
280 286
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff