Project

General

Profile

« Previous | Next » 

Revision 3c8b1903

Added by Leszek Koltunski over 7 years ago

Major restructuring with DistortedTexture. One now is able to create Textures anywhere, even from a thread which does not hold the OpenGL context. Same for DistortedFramebuffers.

View differences:

src/main/java/org/distorted/examples/dynamic/DynamicRenderer.java
68 68
   public void onSurfaceCreated(GL10 glUnused, EGLConfig config) 
69 69
     {   
70 70
     try
71
        {
72
        Distorted.onSurfaceCreated(mView.getContext());
73
        }
74
      catch(Exception ex)
75
        {
76
        android.util.Log.e("Renderer", ex.getMessage() );
77
        }
71
       {
72
       Distorted.onSurfaceCreated(mView.getContext());
73
       }
74
     catch(Exception ex)
75
       {
76
       android.util.Log.e("Renderer", ex.getMessage() );
77
       }
78 78
     }
79 79

  
80 80
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff