Minor change in command-line options.
authorJohn Kessenich <cepheus@frii.com>
Mon, 25 Aug 2014 20:07:55 +0000 (20:07 +0000)
committerJohn Kessenich <cepheus@frii.com>
Mon, 25 Aug 2014 20:07:55 +0000 (20:07 +0000)
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27840 e7fa87d3-cd2b-0410-9028-fcbf551c1848

StandAlone/StandAlone.cpp

index 7f349fc..c2d1247 100644 (file)
@@ -60,7 +60,7 @@ enum TOptions {
     EOptionMemoryLeakMode     = 0x004,
     EOptionRelaxedErrors      = 0x008,
     EOptionGiveWarnings       = 0x010,
-    EOptionsLinkProgram       = 0x020,
+    EOptionLinkProgram        = 0x020,
     EOptionMultiThreaded      = 0x040,
     EOptionDumpConfig         = 0x080,
     EOptionDumpReflection     = 0x100,
@@ -481,6 +481,7 @@ bool ProcessArguments(int argc, char* argv[])
             switch (argv[0][1]) {
             case 'b':
                 Options |= EOptionBil;
+                Options |= EOptionLinkProgram;
                 break;
             case 'c':
                 Options |= EOptionDumpConfig;
@@ -492,7 +493,7 @@ bool ProcessArguments(int argc, char* argv[])
                 Options |= EOptionIntermediate;
                 break;
             case 'l':
-                Options |= EOptionsLinkProgram;
+                Options |= EOptionLinkProgram;
                 break;
             case 'm':
                 Options |= EOptionMemoryLeakMode;
@@ -701,7 +702,7 @@ int C_DECL main(int argc, char* argv[])
     // 1) linking all arguments together, single-threaded, new C++ interface
     // 2) independent arguments, can be tackled by multiple asynchronous threads, for testing thread safety, using the old handle interface
     //
-    if (Options & EOptionsLinkProgram) {
+    if (Options & EOptionLinkProgram) {
         glslang::InitializeProcess();
         CompileAndLinkShaders();
         glslang::FinalizeProcess();