Remove redundant Java GL code.

Not used in Google example code.
This commit is contained in:
Themaister 2013-02-17 23:43:29 +01:00
parent 455b7ea0c4
commit 20554b3ea2

View File

@ -108,7 +108,6 @@ public class DisplayRefreshRateTest extends Activity {
super.onCreate(savedInstanceState);
Toast.makeText(this, "Touch the screen with your fingers for more accurate measurements.", Toast.LENGTH_LONG).show();
surfaceView = new GLSurfaceView(this);
surfaceView.setEGLConfigChooser(false);
surfaceView.setEGLContextClientVersion(2);
surfaceView.setRenderer(new Renderer(this));
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);