Project

General

Profile

« Previous | Next » 

Revision fca614bf

Added by Leszek Koltunski almost 3 years ago

Add a glGetError() call to the main render loop.

View differences:

src/main/java/org/distorted/library/main/DistortedScreen.java
191 191
      mToBeBlittedFBO=0;
192 192
      }
193 193

  
194
    int err = GLES30.glGetError();
195

  
196
    if( err!=GLES30.GL_NO_ERROR )
197
      {
198
      android.util.Log.e("D", "DISTORTED: OpenGL error "+err);
199
      }
200

  
194 201
    return numrender+1;
195 202
    }
196 203

  

Also available in: Unified diff