Revision c0460c5c
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/main/RubikRenderer.java | ||
---|---|---|
122 | 122 |
@Override |
123 | 123 |
public void onSurfaceCreated(GL10 glUnused, EGLConfig config) |
124 | 124 |
{ |
125 |
DistortedLibrary.setMax(EffectType.VERTEX,61); // 60 Minx quaternions + rotate |
|
125 | 126 |
VertexEffectRotate.enable(); |
126 | 127 |
VertexEffectQuaternion.enable(); |
127 | 128 |
BaseEffect.Type.enableEffects(); |
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
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.