Project

General

Profile

« Previous | Next » 

Revision c0460c5c

Added by Leszek Koltunski about 3 years ago

Bugfixes as a result of the Samsung Galaxy J4+ investigation:

1) By default, switch off transform feedback in the main program.
Create a new API 'needTransformFeedback()' to call if someone still needs TF in the main program.
2) lower the default max number of vertex effects to 30.
3) lower the default max number of Components of a Mesh to 100.

View differences:

src/main/java/org/distorted/tutorial/TutorialRenderer.java
74 74
   @Override
75 75
   public void onSurfaceCreated(GL10 glUnused, EGLConfig config)
76 76
      {
77
      DistortedLibrary.setMax(EffectType.VERTEX,61);    // 60 Minx quaternions + rotate
77 78
      VertexEffectRotate.enable();
78 79
      VertexEffectQuaternion.enable();
79 80
      BaseEffect.Type.enableEffects();

Also available in: Unified diff