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

Reply via email to