From 9d4bad02e6eb15ec5cf62681923543776d66e9f1 Mon Sep 17 00:00:00 2001 From: Jason Maskell Date: Tue, 31 May 2016 13:54:29 +0200 Subject: Renamed Logger.h to GFSDK_Logger.h since it's a shared header. Removed the narrow char methods. Removed the floating log functions. Changed the ILogger::log() method to use varargs and printf() formatting. --- sample/d3d11/sample_d3d11.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sample/d3d11/sample_d3d11.cpp') diff --git a/sample/d3d11/sample_d3d11.cpp b/sample/d3d11/sample_d3d11.cpp index 929ba11..6383777 100644 --- a/sample/d3d11/sample_d3d11.cpp +++ b/sample/d3d11/sample_d3d11.cpp @@ -46,7 +46,7 @@ #include #include #include -#include "../common/Logger.h" +#include "GFSDK_Logger.h" #include "../common/LoggerImpl.h" //#define DEBUG_VS // Uncomment this line to debug vertex shaders @@ -209,11 +209,11 @@ INT WINAPI WinMain( HINSTANCE, HINSTANCE, LPSTR cmdline, int ) _CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF ); #endif - NV_LOG("Testing!"); + NV_LOG(L"Testing!"); - GFSDK_WaveWorks_SetUserLogger(static_cast(g_Logger)); + GFSDK_WaveWorks_SetUserLogger(static_cast(LoggerWWSamples::GetInstance())); - NV_LOG("User logger set!"); + NV_LOG(L"User logger set!"); //TODO: Take from cmdline auto mediaPath = "..\\..\\media\\sample"; -- cgit v1.2.3