Project

General

Profile

« Previous | Next » 

Revision e7a4ef16

Added by Leszek Koltunski over 7 years ago

Minor stuff

View differences:

src/main/java/org/distorted/examples/aroundtheworld/AroundTheWorldRenderer.java
57 57
   
58 58
   public void onDrawFrame(GL10 glUnused) 
59 59
      {
60
      GLES20.glClearColor(0.2f, 0.2f, 0.2f, 1.0f);
61 60
      GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
62
     
63 61
      mObject.draw(System.currentTimeMillis());
64 62
      }
65 63

  
......
90 88
///////////////////////////////////////////////////////////////////////////////////////////////////
91 89
    
92 90
   public void onSurfaceCreated(GL10 glUnused, EGLConfig config) 
93
      {  
91
      {
92
      GLES20.glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
93

  
94 94
      InputStream is = mView.getContext().getResources().openRawResource(R.raw.face);
95 95
      Bitmap bitmap;
96 96

  

Also available in: Unified diff