Win/glvdebug: Use a "\\" instead of "/" for Windows path separator.
authorIan Elliott <ian@LunarG.com>
Thu, 5 Mar 2015 22:45:47 +0000 (15:45 -0700)
committerIan Elliott <ian@LunarG.com>
Fri, 6 Mar 2015 18:01:47 +0000 (11:01 -0700)
tools/glave/src/glvdebug/glvdebug_controller_factory.cpp

index ee7adc8..db6db91 100644 (file)
@@ -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)