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/cubes/CubesRenderer.java
77 77
   
78 78
    public void onDrawFrame(GL10 glUnused) 
79 79
      {
80
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
81 80
      GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
82
      
83 81
      mObject.draw(System.currentTimeMillis());
84 82
      }
85 83

  
......
115 113
    
116 114
    public void onSurfaceCreated(GL10 glUnused, EGLConfig config) 
117 115
      {
116
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
117

  
118 118
      InputStream is = mView.getContext().getResources().openRawResource(R.raw.grid);
119 119
      Bitmap bitmap;
120 120
        

Also available in: Unified diff