From 35fb54cc684bd78ebb15ea64705396bcef53ff4f Mon Sep 17 00:00:00 2001 From: Jason Maskell Date: Mon, 16 May 2016 16:31:40 +0200 Subject: Added the ability to specify the "media" directory for the test project. test_d3d11 now runs, but doesn't work yet. Converted foam.dds to 32 bit to let it actually load since it's 24 bit format was deprecated. --- test/testing_src/testing.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/testing_src/testing.h') diff --git a/test/testing_src/testing.h b/test/testing_src/testing.h index 3537d3e..9620aa4 100644 --- a/test/testing_src/testing.h +++ b/test/testing_src/testing.h @@ -53,6 +53,7 @@ struct TestParams bool UseReadbacks; GFSDK_WaveWorks_Simulation_DetailLevel QualityMode; std::string ScreenshotDirectory; + std::string MediaDirectory; explicit TestParams(std::string strCommandLine) : UseReadbacks(false) @@ -108,6 +109,10 @@ struct TestParams m_shouldTakeScreen = true; ScreenshotDirectory = std::string(keyValuePair[1]); } + else if (keyValuePair[0] == "mediadir") + { + MediaDirectory = std::string(keyValuePair[1]); + } else if( keyValuePair[0] == "noaa" ) { m_allowAA = false; -- cgit v1.2.3