diff options
Diffstat (limited to 'src/gpu/vk/GrVkUtil.cpp')
-rw-r--r-- | src/gpu/vk/GrVkUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/vk/GrVkUtil.cpp b/src/gpu/vk/GrVkUtil.cpp index 0d07e1f57a..a14f827dcb 100644 --- a/src/gpu/vk/GrVkUtil.cpp +++ b/src/gpu/vk/GrVkUtil.cpp @@ -312,7 +312,7 @@ bool GrCompileVkShaderModule(const GrVkGpu* gpu, shaderc_shader_kind shadercStage = vk_shader_stage_to_shaderc_kind(stage); result = shaderc_compile_into_spv(compiler, - shaderString.c_str(), + shaderString, strlen(shaderString), shadercStage, "shader", |