commit | 003e7b135a51892ac073ef2aa953b706121f6e23 | [log] [tgz] |
---|---|---|
author | alokp@chromium.org <alokp@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Mon Aug 09 17:14:46 2010 +0000 |
committer | alokp@chromium.org <alokp@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Mon Aug 09 17:14:46 2010 +0000 |
tree | 72f75c083fe27f0e3ea71d021dd88d13ae94eabd | |
parent | 5223af6b2743fe7645733b9869f2e612a74fc8b4 [diff] [blame] |
We were trying to change a const_iterator which was rightly caught by SunStudio compiler. Submitted by Eagle.Lu. BUG=19 Review URL: http://codereview.appspot.com/1879049 git-svn-id: https://angleproject.googlecode.com/svn/trunk@374 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/compiler/OutputGLSL.cpp b/src/compiler/OutputGLSL.cpp index 486a27a..171bb8c 100644 --- a/src/compiler/OutputGLSL.cpp +++ b/src/compiler/OutputGLSL.cpp
@@ -147,7 +147,7 @@ out << arrayBrackets(type); // Put a comma if this is not the last argument. - if (iter != --args.end()) + if (iter != args.end() - 1) out << ", "; } }