Project

General

Profile

« Previous | Next » 

Revision ed1c0b33

Added by Leszek Koltunski almost 8 years ago

Switch to sending a Context (rather than a GLSurfaceView) to the library.

View differences:

src/main/java/org/distorted/examples/differenteffects/DifferentEffectsRenderer.java
144 144
      
145 145
      try
146 146
        {
147
        Distorted.onSurfaceCreated(mView);
147
        Distorted.onSurfaceCreated(mView.getContext());
148 148
        }
149 149
      catch(Exception ex)
150 150
        {
151
        android.util.Log.e("DifferentEffectsRenderer", ex.getMessage() );
151
        android.util.Log.e("DifferentEffects", ex.getMessage() );
152 152
        }
153 153
      }
154 154
}

Also available in: Unified diff