[OpenWalnut-Dev] [OWci] r6921: [FIX #333] #line statement does not support string expression, although most glsl compilers are allowing them.
Sebastian Eichelbaum
eichelbaum at informatik.uni-leipzig.de
Wed Mar 5 12:00:14 CET 2014
Upps. Übersehen. Danke.
On Wed, 05 Mar 2014, Alexander Wiebel wrote:
> *Branch default*
> [FIX #333] #line statement does not support string expression, although most glsl compilers are allowing them.
>
> changeset 6921:594c99a61f68 in /srv/hg/ow (Wed Mar 05 11:44:28 2014 +0100):
>
> http://www.openwalnut.org/projects/openwalnut/repository/revisions/6921
>
> diffstat:
>
> src/core/graphicsEngine/shaders/WGEShader.cpp | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diffs (12 lines):
>
> diff -r 0366fe9ad4a4 -r 594c99a61f68 src/core/graphicsEngine/shaders/WGEShader.cpp
> --- a/src/core/graphicsEngine/shaders/WGEShader.cpp Tue Mar 04 23:00:46 2014 +0100
> +++ b/src/core/graphicsEngine/shaders/WGEShader.cpp Wed Mar 05 11:44:28 2014 +0100
> @@ -297,7 +297,7 @@
> boost::smatch matches; // the list of matches
> std::size_t lineNo = 0; // keep track of line numbers
>
> - output << "#line 1 \"" << filename << "\"";
> + output << "#line 1 ";
>
> while( std::getline( input, line ) )
> {
> _______________________________________________
> All-openwalnut-commits mailing list
> All-openwalnut-commits at lists.informatik.uni-leipzig.de
> http://lists.informatik.uni-leipzig.de/mailman/listinfo/all-openwalnut-commits
>
--
Dipl.-Inf. Sebastian Eichelbaum
Universität Leipzig
Institut für Informatik
Abteilung Bild- und Signalverarbeitung
PF 100920
D-04009 Leipzig
More information about the OpenWalnut-Dev
mailing list