Project

General

Profile

« Previous | Next » 

Revision 0e924ba5

Added by Leszek Koltunski about 6 years ago

Initialize MessageSender even if compiling some of the programs fails.

View differences:

src/main/java/org/distorted/library/main/Distorted.java
122 122
    GLSL = ( (configurationInfo.reqGlEsVersion>>16)>=3 ? 300 : 100 );
123 123
    GLSL_VERSION= (GLSL==100 ? "#version 100\n" : "#version 300 es\n");
124 124

  
125
    EffectMessageSender.startSending();
126

  
125 127
    final Resources resources = context.getResources();
126 128
    DistortedEffects.createProgram(resources);
127 129
    PostprocessEffect.createPrograms();
128
    EffectMessageSender.startSending();
129 130

  
130 131
    mInitialized = true;
131 132
    }

Also available in: Unified diff