Back to project page AndroidExperiments.
The source code is released under:
MIT License
If you think the Android project AndroidExperiments listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.brandonlight.gles2demos; //from w w w . java 2 s. c om import android.content.Context; import android.opengl.GLSurfaceView; public class TriColorVertView extends GLSurfaceView { public TriColorVertView(Context context) { super(context); setDebugFlags(DEBUG_CHECK_GL_ERROR | DEBUG_LOG_GL_CALLS); setEGLContextClientVersion(2); setRenderer(new TouchDemoRenderer()); } }