[GEM-dev] [ pd-gem-Feature Requests-2612731 ] glsl_geometry

cyrille henry cyrille.henry at la-kitchen.fr
Sat Apr 25 22:46:41 CEST 2009



IOhannes m zmoelnig a écrit :
> cyrille henry wrote:


> mabye i introduced some problems when i defaulted to "triangles" 

yep, i think so :

void glsl_program:: outtypeMess(GLuint outtype) {
  m_geoInType=outtype;
  if(m_program && glProgramParameteriEXT) {
    glProgramParameteriEXT(m_program,GL_GEOMETRY_INPUT_TYPE_EXT,m_geoOutType);
  }
}

i think :   m_geoInType=outtype; is a copy/paste typo and should be :   m_geoOutType=outtype;

that could explain my problems...

fixed in svn.

Cyrille




More information about the GEM-dev mailing list