Code example for GL10

Methods: gluOrtho2DglLoadIdentityglMatrixModeglViewport

			height = 1;
		this.width = width;
		this.height = height;
		gl.glViewport(0, 0, width, height);
		GLU.gluOrtho2D(gl, 0, width, height, 0);
	 * Actions to be performed when the surface is created. It basically sets 
	 * the projection, enebles OpenGL features such as the Alpha value for 
	 * transparency and assigns the textures. 
	public void onSurfaceCreated(GL10 gl, EGLConfig config) { = gl;
Stop searching for code, let great code find you!  Add Codota to your java IDE