Fix Web build
authorFelix Maier <xilefmai@gmail.com>
Mon, 11 May 2020 20:06:21 +0000 (22:06 +0200)
committerFelix Maier <xilefmai@gmail.com>
Mon, 11 May 2020 20:06:21 +0000 (22:06 +0200)
glslang/MachineIndependent/Initialize.cpp

index 36c35a8..78eacac 100644 (file)
@@ -146,6 +146,7 @@ EProfile EDesktopProfile = static_cast<EProfile>(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 },