parent
b3d333d1b8
commit
662d2b3464
7 changed files with 20 additions and 29 deletions
|
|
@ -8,6 +8,17 @@
|
|||
|
||||
#include "VulkanTools.h"
|
||||
|
||||
const std::string getAssetPath()
|
||||
{
|
||||
#if defined(VK_USE_PLATFORM_ANDROID_KHR)
|
||||
return "";
|
||||
#elif defined(VK_EXAMPLE_DATA_DIR)
|
||||
return VK_EXAMPLE_DATA_DIR;
|
||||
#else
|
||||
return "./../data/";
|
||||
#endif
|
||||
}
|
||||
|
||||
namespace vks
|
||||
{
|
||||
namespace tools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue