Commits

Jason McKesson committed 12daaca

Fixes to get Tut14 working in release.

  • Participants
  • Parent commits f768332

Comments (0)

Files changed (3)

Tut 14 Textures Are Not Pictures/Material Texture.cpp

 		glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0);
 		glBindTexture(GL_TEXTURE_2D, 0);
 	}
-	catch(glimg::ImageCreationException &e)
+	catch(std::exception &e)
 	{
 		printf("%s\n", e.what());
 		throw;

framework/framework.lua

 
 		configuration "Release"
 			defines {"RELEASE", "NDEBUG"};
+			flags {"OptimizeSpeed", "NoFramePointer", "ExtraWarnings", "NoEditAndContinue"};
 			targetname("framework")
 
 
 		
 		configuration "Release"
 			defines {"RELEASE", "NDEBUG"};
+			flags {"OptimizeSpeed", "NoFramePointer", "ExtraWarnings", "NoEditAndContinue"};
 			libdirs {"../glload/lib", "../glimg/lib", "../tinyxml/lib"}
 			links "glload"
 			links "glimg"

tinyxml/premake4.lua

 	
 	configuration "Release"
 		defines {"NDEBUG", "RELEASE"};
+		flags {"OptimizeSpeed", "NoFramePointer", "ExtraWarnings", "NoEditAndContinue"};
 		targetname "tinyxml_pm"