From d7c120f16f176ada5bc3253274eb865ccf55f27c Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Tue, 12 Mar 2013 17:52:59 +0000 Subject: [PATCH] A few trivial things, including removing '/' as a command line option indicator so absolute paths work naturally. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20839 e7fa87d3-cd2b-0410-9028-fcbf551c1848 --- README.txt | 1 + StandAlone/StandAlone.cpp | 2 +- glslang/Public/ShaderLang.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.txt b/README.txt index b7ab72f9..887e390a 100644 --- a/README.txt +++ b/README.txt @@ -8,6 +8,7 @@ Source Copyright Copyright (C) 2002-2005 3Dlabs Inc. Ltd. +Copyright (C) 2012-2013 LunarG, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/StandAlone/StandAlone.cpp b/StandAlone/StandAlone.cpp index 576c6d71..18e9c547 100644 --- a/StandAlone/StandAlone.cpp +++ b/StandAlone/StandAlone.cpp @@ -132,7 +132,7 @@ int C_DECL main(int argc, char* argv[]) argc--; argv++; for (; argc >= 1; argc--, argv++) { - if (argv[0][0] == '-' || argv[0][0] == '/') { + if (argv[0][0] == '-') { switch (argv[0][1]) { case 'd': delay = true; break; diff --git a/glslang/Public/ShaderLang.h b/glslang/Public/ShaderLang.h index c7cd6fc4..632be60d 100644 --- a/glslang/Public/ShaderLang.h +++ b/glslang/Public/ShaderLang.h @@ -67,6 +67,7 @@ SH_IMPORT_EXPORT int ShInitialize(); // Driver should call this at shutdown. // SH_IMPORT_EXPORT int __fastcall ShFinalize(); + // // Types of languages the compiler can consume. //