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/differenteffects/DifferentEffectsRenderer.java
79 79
   
80 80
    public void onDrawFrame(GL10 glUnused) 
81 81
      {
82
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
83 82
      GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
84 83
      
85 84
      long time = System.currentTimeMillis();
......
127 126
    
128 127
    public void onSurfaceCreated(GL10 glUnused, EGLConfig config) 
129 128
      {
129
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
130

  
130 131
      InputStream is = mView.getContext().getResources().openRawResource(R.raw.dog);
131 132
      Bitmap bitmap;
132 133
        

Also available in: Unified diff