[Fluxus] multitexture automatic checking
    Dave Griffiths 
    dave at pawfal.org
       
    Thu Apr 16 05:46:16 PDT 2009
    
    
  
On Thu, 2009-04-16 at 14:06 +0200, gabor papp wrote:
> > It should do - see GLSLShader::Init():
> oh, cool. i didn't know about this, probably something is not right with
> this check, because i get a segfault:
> 
> #0  0x00000000 in ?? ()
> #1  0x026979d5 in Fluxus::GLSLShader::Unapply () at
> libfluxus/src/GLSLShader.cpp:202
That's interesting, as it's crashing at:
glUseProgram(0); 
Which is how you switch back to the fixed pipeline.
Could you see if glUseProgram is NULL, if not then try commenting that
out and applying a shader to something - to see if glUseProgram crashes
when it's got a real shader too.
cheers,
dave
    
    
More information about the Fluxus
mailing list