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/surfaceview/RenderThread.java
253 253
    mScreen.attach(mTexture,mEffects,mMesh);
254 254

  
255 255
    VertexEffectDistort.enable();
256
    DistortedLibrary.onCreate(mView.getContext(), this);
256
    DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
257 257
    }
258 258

  
259 259
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff