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/wind/WindRenderer.java
73 73
   
74 74
   public void onDrawFrame(GL10 glUnused) 
75 75
      {
76
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
77 76
      GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
78
     
79 77
      mObject.draw(System.currentTimeMillis());
80 78
      }
81 79

  
......
104 102
///////////////////////////////////////////////////////////////////////////////////////////////////
105 103
    
106 104
   public void onSurfaceCreated(GL10 glUnused, EGLConfig config) 
107
      {  
105
      {
106
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
107

  
108 108
      InputStream is = mView.getContext().getResources().openRawResource(R.raw.iceland);
109 109
      Bitmap bitmap;
110 110

  

Also available in: Unified diff