Project

General

Profile

« Previous | Next » 

Revision 97b6c85e

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/library/effect/EffectType.java
74 74
    maxtable[0] =100;  // By default, there can be a maximum 100 MATRIX effects in a single
75 75
                       // EffectQueueMatrix at any given time. This can be changed with a call
76 76
                       // to EffectQueueMatrix.setMax(int)
77
    maxtable[1] =100;  // Max 100 VERTEX Effects
77
    maxtable[1] = 30;  // Max 30 VERTEX Effects
78 78
    maxtable[2] =  5;  // Max 5 FRAGMENT Effects
79 79
    maxtable[3] =  3;  // Max 3 POSTPROCESSING Effects
80 80
    }

Also available in: Unified diff