Source

gltut / Tut 09 Lights on / Ambient Lighting.cpp

Diff from to

File Tut 09 Lights on/Ambient Lighting.cpp

 	}
 	catch(std::exception &except)
 	{
-		printf(except.what());
+		printf("%s\n", except.what());
+		throw;
 	}
 
  	glutMouseFunc(MouseButton);