From: Ian Elliott Date: Thu, 5 Mar 2015 22:45:47 +0000 (-0700) Subject: Win/glvdebug: Use a "\\" instead of "/" for Windows path separator. X-Git-Tag: sdk-0.1.0~360 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f81ca1d9dd32ec1c04c16b39627c7f58e8ba6db0;p=platform%2Fupstream%2FVulkan-LoaderAndValidationLayers.git Win/glvdebug: Use a "\\" instead of "/" for Windows path separator. --- diff --git a/tools/glave/src/glvdebug/glvdebug_controller_factory.cpp b/tools/glave/src/glvdebug/glvdebug_controller_factory.cpp index ee7adc8..db6db91 100644 --- a/tools/glave/src/glvdebug/glvdebug_controller_factory.cpp +++ b/tools/glave/src/glvdebug/glvdebug_controller_factory.cpp @@ -12,7 +12,11 @@ glvdebug_controller_factory::~glvdebug_controller_factory() glvdebug_controller* glvdebug_controller_factory::Load(const char* filename) { char* exeDir = glv_platform_get_current_executable_directory(); +#if defined(PLATFORM_WINDOWS) + char* controllerPath = glv_copy_and_append(exeDir,"\\", filename); +#else char* controllerPath = glv_copy_and_append(exeDir,"/", filename); +#endif void* pLibrary = glv_platform_open_library(controllerPath); if (pLibrary == NULL)