Project

General

Profile

« Previous | Next » 

Revision 7c72e798

Added by Leszek Koltunski over 3 years ago

1) Beginnings of support for using the library from more than one activity
2) rename DistortedLibrary.onCreate() to onSurfaceCreated()
3) (rubik) add Cambodia's flag.

View differences:

src/main/java/org/distorted/examples/monalisa/MonaLisaRenderer.java
161 161
      // before the call to DistortedLibrary.onCreate(). Best done here.
162 162
      VertexEffectDistort.enable();
163 163

  
164
      DistortedLibrary.onCreate(mView.getContext(), this);
164
      DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
165 165
      }
166 166

  
167 167
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff