From 3d99fad173cc0c00d370eeb6663784fc67efd480 Mon Sep 17 00:00:00 2001 From: David Neto Date: Fri, 24 Jan 2020 15:41:21 -0500 Subject: [PATCH] Handle new Glslang profile enum in switch (#973) * Handle new Glslang profile enum in switch --- libshaderc/src/shaderc.cc | 1 + 1 files changed, 1 insertions(+), 0 deletion(-) diff --git a/libshaderc/src/shaderc.cc b/libshaderc/src/shaderc.cc index abbab548..fe57c76b 100644 --- a/libshaderc/src/shaderc.cc +++ b/libshaderc/src/shaderc.cc @@ -779,6 +779,7 @@ bool shaderc_parse_version_profile(const char* str, int* version, *profile = shaderc_profile_none; return true; case EBadProfile: + case EProfileCount: return false; }