Add command flag for picking between shaders
The new `-s`, `--shaders` command line flag allows you to specify whether you want to load the glsl or hlsl shaders. Defaults to glsl. Issue: #723
This commit is contained in:
parent
8c35694de9
commit
301e8abf12
7 changed files with 45 additions and 20 deletions
|
|
@ -19,11 +19,6 @@ const std::string getAssetPath()
|
|||
#endif
|
||||
}
|
||||
|
||||
const std::string getShadersPath()
|
||||
{
|
||||
return getAssetPath() + "shaders/glsl/";
|
||||
}
|
||||
|
||||
namespace vks
|
||||
{
|
||||
namespace tools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue