projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef1c074
)
Win/glvdebug: Use a "\\" instead of "/" for Windows path separator.
author
Ian Elliott
<ian@LunarG.com>
Thu, 5 Mar 2015 22:45:47 +0000
(15:45 -0700)
committer
Ian Elliott
<ian@LunarG.com>
Fri, 6 Mar 2015 18:01:47 +0000
(11:01 -0700)
tools/glave/src/glvdebug/glvdebug_controller_factory.cpp
patch
|
blob
|
history
diff --git
a/tools/glave/src/glvdebug/glvdebug_controller_factory.cpp
b/tools/glave/src/glvdebug/glvdebug_controller_factory.cpp
index
ee7adc8
..
db6db91
100644
(file)
--- 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)