Commits

Roi Atalla committed ea89143

Removed calls to checkGLError in 10.2

Comments (0)

Files changed (1)

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter10/example2/Example10_2.java

 			 vertColorProgram = vertexDiffuseColor;
 		 }
 		 
-		 checkGLError("1");
-		 
 		 whiteProgram.program.begin();
 		 glUniform4f(whiteProgram.lightIntensityUniform, 0.8f, 0.8f, 0.8f, 1);
 		 glUniform4f(whiteProgram.ambientIntensityUniform, 0.2f, 0.2f, 0.2f, 1);
 		 glUniform4f(vertColorProgram.ambientIntensityUniform, 0.2f, 0.2f, 0.2f, 1);
 		 vertColorProgram.program.end();
 		 
-		 checkGLError("2");
-		 
 		 {
 			 modelMatrix.pushMatrix();
 			 
 				 modelMatrix.popMatrix();
 			 }
 			 
-			 checkGLError("3");
-			 
 			 {
 				 modelMatrix.pushMatrix();
 				 
 				 modelMatrix.popMatrix();
 			 }
 			 
-			 checkGLError("4");
-			 
 			 if(drawLight) {
 				 modelMatrix.pushMatrix();