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/earth/EarthRenderer.java
281 281
      DistortedLibrary.setMax(EffectType.VERTEX  , MAX_EFF);
282 282
      DistortedLibrary.setMax(EffectType.FRAGMENT, MAX_EFF);
283 283

  
284
      DistortedLibrary.onCreate(mView.getContext(), this);
284
      DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
285 285
      }
286 286

  
287 287
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff