From 8e18714bb6ffdbdf17833c75d339e6a80975383b Mon Sep 17 00:00:00 2001 From: Felix Maier Date: Mon, 11 May 2020 22:06:21 +0200 Subject: [PATCH] Fix Web build --- glslang/MachineIndependent/Initialize.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/glslang/MachineIndependent/Initialize.cpp b/glslang/MachineIndependent/Initialize.cpp index 36c35a80..78eacac7 100644 --- a/glslang/MachineIndependent/Initialize.cpp +++ b/glslang/MachineIndependent/Initialize.cpp @@ -146,6 +146,7 @@ EProfile EDesktopProfile = static_cast(ENoProfile | ECoreProfile | ECo // Declare pointers to put into the table for versioning. #ifdef GLSLANG_WEB const Versioning* Es300Desktop130 = nullptr; + const Versioning* Es310Desktop420 = nullptr; #else const Versioning Es300Desktop130Version[] = { { EEsProfile, 0, 300, 0, nullptr }, { EDesktopProfile, 0, 130, 0, nullptr },