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/fov/FOVRenderer.java
62 62
   
63 63
   public void onDrawFrame(GL10 glUnused) 
64 64
      {
65
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
66 65
      GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
67
     
68 66
      fov.draw(System.currentTimeMillis());
69 67
      }
70 68

  
......
79 77
///////////////////////////////////////////////////////////////////////////////////////////////////
80 78
    
81 79
   public void onSurfaceCreated(GL10 glUnused, EGLConfig config) 
82
      {  
80
      {
81
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
82

  
83 83
      try
84 84
        {
85 85
        Distorted.onSurfaceCreated(mView.getContext());

Also available in: Unified diff