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/save/SaveRenderer.java
116 116
   
117 117
  public void onDrawFrame(GL10 glUnused)
118 118
    {
119
    GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
120 119
    GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
121 120
      
122 121
    mGirl.draw(System.currentTimeMillis());
......
166 165
    
167 166
  public void onSurfaceCreated(GL10 glUnused, EGLConfig config)
168 167
    {
168
    GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
169

  
169 170
    InputStream is = mView.getContext().getResources().openRawResource(R.raw.girl);
170 171
    Bitmap bitmap;
171 172
        

Also available in: Unified diff