Project

General

Profile

« Previous | Next » 

Revision 8e3b71e2

Added by Leszek Koltunski over 4 years ago

More progreess porting RubikCube.

View differences:

src/main/java/org/distorted/library/effectqueue/EffectQueuePostprocess.java
123 123
    int numV = VertexEffect.getNumEnabled();
124 124

  
125 125
    String version = "#version "+GLSL+" es\n";
126
    String mainVertHeader= version + ("#define NUM_VERTEX "   + ( numV>0 ? DistortedLibrary.getMax(EffectType.VERTEX  ) : 0 ) + "\n");
126
    String mainVertHeader= version + ("#define NUM_VERTEX " + ( numV>0 ? DistortedLibrary.getMax(EffectType.VERTEX  ) : 0 ) + "\n");
127 127
    String mainFragHeader= version + "\n";
128 128

  
129 129
    mainVertHeader += "#define MAX_COMPON " + MeshBase.getMaxEffComponents() + "\n";

Also available in: Unified diff