Revision bfe45b4a
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/library/main/EffectQueuePostprocess.java | ||
---|---|---|
107 | 107 |
|
108 | 108 |
int numV = VertexEffect.getNumEnabled(); |
109 | 109 |
|
110 |
String mainVertHeader= Distorted.GLSL_VERSION + ("#define NUM_VERTEX " + ( numV>0 ? DistortedEffects.getMax(EffectType.VERTEX ) : 0 ) + "\n");
|
|
110 |
String mainVertHeader= Distorted.GLSL_VERSION + ("#define NUM_VERTEX " + ( numV>0 ? Distorted.getMax(EffectType.VERTEX ) : 0 ) + "\n"); |
|
111 | 111 |
String mainFragHeader= Distorted.GLSL_VERSION + "\n"; |
112 | 112 |
|
113 | 113 |
String enabledEffectV= VertexEffect.getGLSL(); |
Also available in: Unified diff
Move all Program-related stuff to Distorted. Now the DistortedEffects class is very simple.