Correct shadersPath for renderheadless project

This commit is contained in:
Dejan Trajkovic 2020-06-09 06:33:38 +02:00
parent c201670b0e
commit 94a4a2bb32

View file

@ -594,7 +594,7 @@ public:
// TODO: There is no command line arguments parsing (nor Android settings) for this
// example, so we have no way of picking between GLSL or HLSL shaders.
// Hard-code to glsl for now.
const std::string shadersPath = getAssetPath() + "/shaders/glsl/renderheadless";
const std::string shadersPath = getAssetPath() + "shaders/glsl/renderheadless/";
shaderStages[0].sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO;
shaderStages[0].stage = VK_SHADER_STAGE_VERTEX_BIT;