Revision fca614bf
Added by Leszek Koltunski about 3 years ago
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
Add a glGetError() call to the main render loop.