/[gzz]/gzz/gfx/libpaper/Paper.cxx
ViewVC logotype

Diff of /gzz/gfx/libpaper/Paper.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by humppake, Thu Oct 10 06:48:39 2002 UTC revision 1.18 by jvk, Thu Oct 31 14:59:18 2002 UTC
# Line 338  namespace Paper { Line 338  namespace Paper {
338            
339      //std::cerr << "Creating VPCode with the source " << code.str() << "\n";      //std::cerr << "Creating VPCode with the source " << code.str() << "\n";
340            
341      texgenvp = VPCode(code.c_str());      texgenvp = VertexProgram(code.c_str());
342    }    }
343        
344    void PaperPass::setUp_VP(LightParam *param) {    void PaperPass::setUp_VP(LightParam *param) {
# Line 360  namespace Paper { Line 360  namespace Paper {
360        else std::cerr << "Warning: ignoring null LightSetup\n";        else std::cerr << "Warning: ignoring null LightSetup\n";
361      }      }
362            
363      texgenvp(); // Bind vertex program      texgenvp.bind(); // Bind vertex program
364  #ifdef GL_VERTEX_PROGRAM_NV  #ifdef GL_VERTEX_PROGRAM_NV
365      glEnable(GL_VERTEX_PROGRAM_NV);      glEnable(GL_VERTEX_PROGRAM_NV);
366  #endif  #endif

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26