The Version we use is the latest stable Release version=2.2. We will not upload our files because while porting everything to opengl es - all of our code includes too many dirty hacks ;) and actually the file is not "Teture.cpp" but src/Texture.cpp.
Oli & Andreas >-----Ursprüngliche Nachricht----- >Von: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Im Auftrag >von Robert Osfield >Gesendet: Donnerstag, 24. Januar 2008 15:48 >An: OpenSceneGraph Users >Betreff: Re: [osg-users] Fix Warning in Teture.cpp > >Hi Andreas, > >Which version of the OSG are you building against? > >Also submission should whole files sent to osg-submission, >this ensures 1) the submission doesn't get lost 2) there is no >ambiguity about actual what one has to change. > >Robert. > >On Jan 24, 2008 2:22 PM, Kremser, Andreas (Praktikant) ><[EMAIL PROTECTED]> wrote: >> Hi, >> @Robert >> we just found a minor issue with both the constructor and the >> copy-constructor of the class Texture in Texture.cpp. >> _internalFormatType(text._internalFormatType), >> shall be initialized after >> _internalFormatMode(text._internalFormatMode), because no >matter what >> order you specify in the initializer list- the member variables will >> be initialized in the order you declared them. >> Just to avoid compiler warnings ;) >> Regards, >> Oli & Andi >> >> <C++STD> >> 12.6.2 - Initializing bases and members [class.base.init] 5. >> Then, nonstatic data members shall be initialized in the order they >> were declared in the class definition (again regardless of the order >> of the mem-initializers). >> </C++STD> >> >> ******************************************* >> Diese E-Mail enthaelt vertrauliche und/oder rechtlich >geschuetzte Informationen. Wenn Sie nicht der richtige >Adressat sind oder diese E-Mail irrtuemlich erhalten haben, >informieren Sie bitte sofort den Absender und loeschen Sie >diese Mail. Das unerlaubte Kopieren sowie die unbefugte >Weitergabe dieser Mail ist nicht gestattet. >> >> This e-mail may contain confidential and/or privileged >information. If you are not the intended recipient (or have >received this e-mail in error) please notify the sender >immediately and delete this e-mail. Any unauthorized copying, >disclosure or distribution of the contents in this e-mail is >strictly forbidden. >> ******************************************* >> _______________________________________________ >> osg-users mailing list >> [email protected] >> >http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph. >> org >> >_______________________________________________ >osg-users mailing list >[email protected] >http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscen >egraph.org > > ******************************************* Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden. ******************************************* _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

