[Paraview] ProcessShader.cxx compile error

Stephane PLOIX stephane.ploix at edf.fr
Mon Apr 24 03:46:02 EDT 2006


Hi,

I was trying to get GLSL shaders into paraview, and I got an error 
compiling paraview with the VTK_USE_GLSL_SHADER flag on.
In the Output::ProcessFile, changing line 125 from 
        for ( cc = 0; cc < line.size(); cc ++ )
into 
        for ( cc = 0; cc < line.size()-1; cc ++ )
resolves it.
(the pb was that the newline caracter was copied when it should not)

Stephane



--------------------------------------------------------------------------------------------------------
Stéphane Ploix
Ingénieur Chercheur EDF R&D - Sinetics
1 avenue du Général de Gaulle
F-91141 Clamart Cedex
Tél : 01 47 65 51 10
Messagerie : stephane.ploix at edf.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060424/ff9936e5/attachment.html


More information about the ParaView mailing list