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/monalisa/MonaLisaRenderer.java
74 74
   
75 75
    public void onDrawFrame(GL10 glUnused) 
76 76
      {
77
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
78 77
      GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
79

  
80 78
      monaLisa.draw(System.currentTimeMillis());
81 79
      }
82 80

  
......
108 106
    
109 107
    public void onSurfaceCreated(GL10 glUnused, EGLConfig config) 
110 108
      {
109
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
110

  
111 111
      InputStream is = mView.getContext().getResources().openRawResource(R.raw.monalisa);
112 112
      Bitmap bitmap;
113 113
        

Also available in: Unified diff