[osg-users] Error in Image.cpp

Art Tevs stud_info2 at yahoo.de
Fri Sep 7 12:11:17 PDT 2007


Yes you are right.

it should be binding2DArray = GL_FALSE;

Hmm, strange why does compiler do not see that this is
a non-sense instruction... 
Are the -Wall Flags activated, Robert?


Art


--- Jean-Sébastien Guay
<jean-sebastien.guay at polymtl.ca> schrieb:

> Hello,
> 
> In Image.cpp as of about 5 minutes ago (14:50 EST)
> there is this:
> 
>      if
> (extensions2DArray->isTexture2DArraySupported())
>      {
>         
> glGetBooleanv(GL_TEXTURE_BINDING_2D_ARRAY_EXT,
> &binding2DArray);
>      }
>      else
>      {
>          binding2DArray - GL_FALSE;
>      }
> 
> I suspect the else should be
> 
>          binding2DArray = GL_FALSE;
> 
> right?
> 
> J-S
> -- 
>
______________________________________________________
> Jean-Sebastien Guay    
> jean-sebastien.guay at polymtl.ca
>                         
> http://whitestar02.webhop.org/
> 
>
----------------------------------------------------------------
> This message was sent using IMP, the Internet
> Messaging Program.
> 
> 
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
>
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 



      Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail



More information about the osg-users mailing list