Code example for GL10

Methods: glDisableglGetIntegerv

0
	{ 
		if (!lightNode.isOn()) 
			return; 
 
		int nMaxLightMax[] = new int[1];
		gl.glGetIntegerv(GL10.GL_MAX_LIGHTS, nMaxLightMax, 0);
 
		gnLights--;
		 
		if (gnLights < nMaxLightMax[0])
			gl.glDisable(GL10.GL_LIGHT0+gnLights);
	} 
 
	public void drawShapeNode(GL10 gl, SceneGraph sg, ShapeNode shape, int drawMode)
	{ 
		gl.glPushMatrix ();
 
		///////////////////////////////// 
		//	Appearance(Material) 
		///////////////////////////////// 
Connect your IDE to all the code out there  Get Codota for Java