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/singlemesh/SingleMeshRenderer.java
185 185
      DistortedLibrary.setMax(EffectType.VERTEX, 15);
186 186
      VertexEffectRotate.enable();
187 187

  
188
      DistortedLibrary.onCreate(mView.getContext(), this);
188
      DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
189 189
      }
190 190

  
191 191
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff