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/flag/FlagRenderer.java
134 134

  
135 135
    public void onDrawFrame(GL10 glUnused) 
136 136
      {
137
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
138 137
      GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
139
      
140 138
      mObject.draw(System.currentTimeMillis());
141 139
      }
142 140

  
......
172 170
    
173 171
    public void onSurfaceCreated(GL10 glUnused, EGLConfig config) 
174 172
      {
173
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
174

  
175 175
      InputStream is = mView.getContext().getResources().openRawResource(R.raw.iceland);
176 176
      Bitmap bitmap;
177 177
        

Also available in: Unified diff