diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 273: ShaderSource: Parse precision strings using fuzzy split to allow spaces.

Message ID 20130523210520.24101.6428.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Jesse Barker May 23, 2013, 9:05 p.m. UTC
------------------------------------------------------------
revno: 273
committer: Jesse Barker <jesse.barker@linaro.org>
branch nick: trunk
timestamp: Thu 2013-05-23 14:03:57 -0700
message:
  ShaderSource: Parse precision strings using fuzzy split to allow spaces.
modified:
  src/libmatrix/shader-source.cc


--
lp:glmark2
https://code.launchpad.net/~glmark2-dev/glmark2/trunk

You are subscribed to branch lp:glmark2.
To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'src/libmatrix/shader-source.cc'
--- src/libmatrix/shader-source.cc	2012-08-13 10:09:08 +0000
+++ src/libmatrix/shader-source.cc	2013-05-23 21:03:57 +0000
@@ -589,7 +589,7 @@ 
 {
     std::vector<std::string> elems;
 
-    Util::split(precision_values, ',', elems, Util::SplitModeNormal);
+    Util::split(precision_values, ',', elems, Util::SplitModeFuzzy);
 
     for (size_t i = 0; i < elems.size() && i < 4; i++) {
         const std::string& pstr(elems[i]);