Project

General

Profile

« Previous | Next » 

Revision 6a083c6a

Added by Leszek Koltunski about 3 years ago

- report the Graphics driver's Renderer and Version.
- new Diamond, Skewb2 and Skewb3 meshes.

View differences:

src/main/java/org/distorted/main/RubikRenderer.java
29 29
import org.distorted.library.main.DistortedLibrary;
30 30
import org.distorted.library.main.DistortedScreen;
31 31
import org.distorted.library.mesh.MeshBase;
32
import org.distorted.network.RubikNetwork;
32 33

  
33 34
import javax.microedition.khronos.egl.EGLConfig;
34 35
import javax.microedition.khronos.opengles.GL10;
......
45 46
   private final DistortedScreen mScreen;
46 47
   private final Fps mFPS;
47 48
   private boolean mErrorShown;
49
   private boolean mDebugSent;
48 50

  
49 51
   private static class Fps
50 52
     {
......
131 133
      BaseEffect.Type.enableEffects();
132 134

  
133 135
      DistortedLibrary.onSurfaceCreated(mView.getContext(),this,1);
136

  
137
      if( !mDebugSent )
138
        {
139
        mDebugSent= true;
140
        RubikNetwork network = RubikNetwork.getInstance();
141
        network.debug( (RubikActivity)mView.getContext());
142
        }
134 143
      }
135 144

  
136 145
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff